GetDictionariesApi.java
1.13 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
51
52
53
54
package com.studymachine.www.http.api;
import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestPath;
import com.hjq.http.config.IRequestServer;
/**
* desc :统一字典
* POST /xunapi/dictdata
* 接口ID:17099610
* 接口地址:https://www.apifox.cn/web/project/866606/apis/api-17099610
*/
public final class GetDictionariesApi implements IRequestApi, IRequestPath {
@Override
public String getApi() {
return "dictdata/";
}
@Override
public String getPath() {
return "xunapi/";
}
// {"label":"普通","value":"DEFAULT"}
public final static class Bean {
private String label;
private String value;
public Bean(String label, String value) {
this.label = label;
this.value = value;
}
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}
}