| | |
| | | //添加子账户权限
|
| | | public static String ADD_POLICY = "addPolicy";
|
| | |
|
| | | public static String INDEPENDENT_REGISTER ="independentRegister";
|
| | |
|
| | | // URL地址
|
| | | public static String HOST = "";
|
| | | // 如果不知道appid,请登录open.lechange.com,开发者服务模块中创建应用
|
| | |
| | | public static String SECRET = "";
|
| | |
|
| | | public enum Envirment {
|
| | | CHINA_TEST("https://funcopenapi.lechange.cn:443"),
|
| | | CHINA_TEST("https://test-gz.hdlcontrol.com"),
|
| | | CHINA_PRO("https://openapi.lechange.cn:443"),
|
| | | OVERSEAS_TEST("https://openapifunc.easy4ip.com:443"),
|
| | | OVERSEAS_PRO("https://openapi.easy4ip.com:443");
|
| | |
| | | SECRET = secretKey;
|
| | | HOST = url;
|
| | | }
|
| | |
|
| | | public static boolean isHdlServer() {
|
| | | return HOST.contains("hdlcontrol.com");
|
| | | }
|
| | | }
|