package com.chinaztt.mes.plan.util;
|
|
import lombok.Data;
|
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
import org.springframework.stereotype.Component;
|
|
/**
|
* @author ZTT
|
*/
|
@RefreshScope
|
@Component
|
@Data
|
public class CustomerOrderClientConfigure {
|
@Value("${attachment.host:}")
|
private String host;
|
@Value("${attachment.fileKey:}")
|
private String fileKey;
|
@Value("${attachment.url:}")
|
private String url;
|
|
/**
|
* OTC 的host
|
*/
|
@Value("${otc.host:}")
|
private String otcHost;
|
/**
|
* OTC token获取地址
|
*/
|
@Value("${otc.tokenUrl:}")
|
private String otcTokenUrl;
|
/**
|
* OTC 订单头信息获取地址
|
*/
|
@Value("${otc.cusomerUrl:}")
|
private String otcCusomerUrl;
|
/**
|
* OTC 订单明细信息获取地址
|
*/
|
@Value("${otc.customerOrderUrl:}")
|
private String otcCustomerOrderUrl;
|
/**
|
* OTC 推送零件信息地址
|
*/
|
@Value("${otc.pushCustomerPartNoUrl:}")
|
private String otcPushPartNoUrl;
|
/**
|
* OTC 用户名
|
*/
|
@Value("${otc.username:}")
|
private String otcUsername;
|
/**
|
* OTC 密码
|
*/
|
@Value("${otc.password:}")
|
private String otcPassword;
|
|
/**
|
* OTC 客户订单附件列表查询地址
|
*/
|
@Value("${otc.cutomerFileUrl:}")
|
private String otcFileUrl;
|
/**
|
* OTC 客户订单附件下载地址
|
*/
|
@Value("${otc.cutomerFileDownLoadUrl:}")
|
private String otcFileDownLoadUrl;
|
|
}
|