Browse Source

修改可是对讲的权限组

weiximei 6 years ago
parent
commit
5fc333867d

+ 3
- 7
CODE/foreign-service/src/main/java/com/community/huiju/common/sign/DaSuSign.java View File

@@ -78,14 +78,10 @@ public class DaSuSign {
78 78
         System.out.println(timeMillis);
79 79
         TreeMap<String, Object> treeMap = new TreeMap<>();
80 80
         treeMap.put("appid", "dssdw2576sd997");
81
-        //treeMap.put("communityId", "100");
82
-        //treeMap.put("userId", "15195984759");
81
+        treeMap.put("datetime","1560223595398");
83 82
         treeMap.put("encrypt", "md5");
84
-        treeMap.put("datetime","1560158072888");
85
-        treeMap.put("userName","流川枫");
86
-        treeMap.put("idCard","320324199011255522");
87
-        treeMap.put("gender","1");
88
-        treeMap.put("phone","15195984759");
83
+        treeMap.put("communityId", "107");
84
+        //treeMap.put("carNo","苏A90GM7");
89 85
         String sign = createSign(treeMap, "fgexhd855sf4");
90 86
     }
91 87
 

+ 1
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/HKServiceImpl.java View File

@@ -149,7 +149,7 @@ public class HKServiceImpl implements IHKService {
149 149
         //--------- 可视对讲 ----------
150 150
 
151 151
         Map<String,Object> addOutDoorAuthMap = Maps.newHashMap();
152
-        addOutDoorAuthMap.put("authName", "荟居");
152
+        addOutDoorAuthMap.put("authName", "app用户权限勿动");
153 153
         addOutDoorAuthMap.put("personIds", Arrays.asList(user.getHkUserId()));
154 154
         addOutDoorAuthMap.put("secret", tpEquipmentTree.getSecret());
155 155
         addOutDoorAuthMap.put("appkey", tpEquipmentTree.getAppkey());