package com.template.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "ding")
@Data
public class DingConfig {
    /**
     * key
     */
    private String appKey;
    /**
     * 密钥
     */
    private String appSecrets;
    /**
     * 调用接口地址
     */
    private String baseurl;

}

