package com.ruoyi.logistics.config;

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

@Data
@Component
@ConfigurationProperties(prefix = "jd.express")
public class JDExpressConfig {

    /**
     * 应用编码
     */
    private String appKey;

    /**
     * 应用密钥
     */
    private String appSecret;

    /**
     * 访问令牌
     */
    private String accessToken;

    /**
     * 刷新令牌
     */
    private String refreshToken;

    /**
     * 京东服务地址
     */
    private String serverUrl;
}

