|
@@ -473,7 +473,7 @@ public class HKServiceImpl implements IHKService {
|
473
|
473
|
}
|
474
|
474
|
|
475
|
475
|
@Override
|
476
|
|
- public ResponseBean visualIntercomPermissions(TpUnitHkSetting unitHkSetting, TpEquipmentTree tpEquipmentTree, TaUserHk taUserHk, TaUserVerify userVerify) {
|
|
476
|
+ public ResponseBean visualIntercomPermissions(TpUnitHkSetting unitHkSetting, TpEquipmentTree tpEquipmentTree, TaUserHk taUserHk, TaUserVerify userVerify, TaUser user) {
|
477
|
477
|
|
478
|
478
|
ResponseBean responseBean = new ResponseBean();
|
479
|
479
|
|
|
@@ -495,8 +495,8 @@ public class HKServiceImpl implements IHKService {
|
495
|
495
|
//--------- 可视对讲 ----------
|
496
|
496
|
|
497
|
497
|
Map<String,Object> addOutDoorAuthMap = Maps.newHashMap();
|
498
|
|
- // app用户权限勿动
|
499
|
|
- addOutDoorAuthMap.put("authName", unitHkSetting.getPermissionId());
|
|
498
|
+ // app用户权限勿动 unitHkSetting.getPermissionId()
|
|
499
|
+ addOutDoorAuthMap.put("authName", user.getUserName()+userVerify.getId());
|
500
|
500
|
addOutDoorAuthMap.put("personIds", Arrays.asList(taUserHk.getHkUserId()));
|
501
|
501
|
addOutDoorAuthMap.put("secret", tpEquipmentTree.getSecret());
|
502
|
502
|
addOutDoorAuthMap.put("appkey", tpEquipmentTree.getAppkey());
|