TuyaConfig.java
1.16 KB
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
package cn.com.glsx.smartplat.config;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
/**
* @author zhouhaibao
* @date 2021/5/10 14:40
*/
@Data
@Configuration
public class TuyaConfig {
@Value("${tuya.getAllDevicesByUserUrl}")
private String getAllDevicesByUserUrl;
@Value("${tuya.getFunctionsByIdUrl}")
private String getFunctionsByIdUrl;
@Value("${tuya.getDevicesByIdUrl}")
private String getDevicesByIdUrl;
@Value("${tuya.getFunctionsByCatUrl}")
private String getFunctionsByCatUrl;
@Value("${tuya.instructionIssue}")
private String instructionIssue;
@Value("${tuya.findRemotes}")
private String findRemotes;
@Value("${tuya.instructionInfIssue}")
private String instructionInfIssue;
@Value("${tuya.registerUserUrl}")
private String registerUserUrl;
@Value("${tuya.getUserInfoUrl}")
private String getUserInfoUrl;
@Value("${tuya.getAllUserUrl}")
private String getAllUserUrl;
@Value("${tuya.client_id}")
private String client_id;
@Value("${tuya.secret}")
private String secret;
}