李林
2023-10-07 658d4927d468c47208fd012d9128b09249c07eff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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;
 
}