baibx 4 ay önce
ebeveyn
işleme
444528453b

+ 6 - 2
com.sharemao.core.task/src/main/java/com/sharemao/core/task/iot2/ct/CTAPI.java

@@ -227,7 +227,7 @@ public class CTAPI
227 227
                 token = data.getString("token");
228 228
             }
229 229
         }
230
-        if(index==68 || index==69 || index==84)//铂明
230
+        if(index==68 || index==69 || index==84 || index==91)//铂明
231 231
         {
232 232
             String openId;
233 233
             String appId;
@@ -240,10 +240,14 @@ public class CTAPI
240 240
                 appId="C5010531Aq5201817914";
241 241
                 openId="GFLaxxfVMG4DGkgcdZEEg4zexmje3dq4";
242 242
                 channelId="216";
243
-            } else {
243
+            } else if (index==84){
244 244
                 openId = "GFLaxxfVMG4DGkgcdZEEg4zexmje3dq4";
245 245
                 appId = "C5010250AIOT2022111118533438412";
246 246
                 channelId = "237";
247
+            } else {
248
+                appId="C5010200A9992002368004";
249
+                openId="GFLaxxfVMG4DGkgcdZEEg4zexmje3dq4";
250
+                channelId="239";
247 251
             }
248 252
             String times = String.valueOf(System.currentTimeMillis()/1000);
249 253
             Map<String, String> receivedData = new HashMap<>();

+ 8 - 4
com.sharemao.web.fe/src/main/java/ink/mifi/fe/tools/CTAPI.java

@@ -31,8 +31,8 @@ public class CTAPI
31 31
 
32 32
 	public static void main(String[] args)
33 33
 	{
34
-        String token = CTAPI.getToken(85);
35
-        String cturl = CTAPI.quicksm(token, "89860887182580414012", 85, "1");
34
+        String token = CTAPI.getToken(91);
35
+        String cturl = CTAPI.quicksm(token, "89860865192570555017", 91, "1");
36 36
         System.out.println(cturl);
37 37
 	}
38 38
 	
@@ -225,7 +225,7 @@ public class CTAPI
225 225
                 token = data.getString("token");
226 226
             }
227 227
 		}
228
-        if(index==68 || index==69 || index==84)//铂明
228
+        if(index==68 || index==69 || index==84 || index==91)//铂明
229 229
         {
230 230
             String openId;
231 231
             String appId;
@@ -238,10 +238,14 @@ public class CTAPI
238 238
                 appId="C5010531Aq5201817914";
239 239
                 openId="GFLaxxfVMG4DGkgcdZEEg4zexmje3dq4";
240 240
                 channelId="216";
241
-            } else {
241
+            } else if (index==84){
242 242
                 openId = "GFLaxxfVMG4DGkgcdZEEg4zexmje3dq4";
243 243
                 appId = "C5010250AIOT2022111118533438412";
244 244
                 channelId = "237";
245
+            } else {
246
+                appId="C5010200A9992002368004";
247
+                openId="GFLaxxfVMG4DGkgcdZEEg4zexmje3dq4";
248
+                channelId="239";
245 249
             }
246 250
             String times = String.valueOf(System.currentTimeMillis()/1000);
247 251
             Map<String, String> receivedData = new HashMap<>();

+ 1 - 0
com.shuhaiwifi.web.auth2/src/main/java/com/shuhaiwifi/web/auth2/iot/Iot.java

@@ -17,6 +17,7 @@ public class Iot
17 17
 	public static int lxqh=13;//龙鑫青海移动
18 18
 	public static int lxgz=14;//龙鑫贵州移动
19 19
 	public static int whhnyd=15;//文航河南移动
20
+    public static int bmgdyd=16;//铂明广东移动
20 21
 
21 22
 	public static String getOprtStr(String iccid)
22 23
 	{

+ 7 - 3
com.shuhaiwifi.web.auth2/src/main/java/com/shuhaiwifi/web/auth2/iot/ThirdToken.java

@@ -190,17 +190,21 @@ public class ThirdToken {
190 190
 				}
191 191
 			}
192 192
 		}
193
-		if(kasid==Iot.bmbjyd || kasid==Iot.bmlcyd) {
193
+		if(kasid==Iot.bmbjyd || kasid==Iot.bmlcyd || kasid==Iot.bmgdyd) {
194 194
 			String appId="",openId="",channelId="";
195 195
 			if (kasid==Iot.bmbjyd) {
196 196
 				appId="C5010100A23100111720247";
197 197
 				openId="GFLaxxfVMG4DGkgcdZEEg4zexmje3dq4";
198 198
 				channelId="236";
199
-			} else  {
199
+			} else if (kasid==Iot.bmlcyd){
200 200
 				appId="C5010531Aq5201817914";
201 201
 				openId="GFLaxxfVMG4DGkgcdZEEg4zexmje3dq4";
202 202
 				channelId="216";
203
-			}
203
+			} else {
204
+                appId="C5010200A9992002368004";
205
+                openId="GFLaxxfVMG4DGkgcdZEEg4zexmje3dq4";
206
+                channelId="239";
207
+            }
204 208
 			Map<String, String> receivedData = new HashMap<String, String>();
205 209
 			String times=String.valueOf(System.currentTimeMillis()/1000);
206 210
 			receivedData.put("times", times);