Commit 14595170 by 杨伟程
parents 282a8239 c80c1326
......@@ -143,7 +143,7 @@ public class SaasUserController {
JSONObject jsonObject = new JSONObject();
jsonObject.put("sysUserLoginVO",sysUserLoginVO);
jsonObject.put("wechatUserInfo",wechatUserInfo);
jsonObject.put("saasUser",sysUserLoginVO);
jsonObject.put("saasUser",saasUser);
return ApiResponseUtils.success(jsonObject);
}
......
......@@ -80,7 +80,7 @@ public class ThreadLocalUserUtil {
WechatUserInfo wechatUserInfo = THREAD_LOCAL_WECHAT_USER.get();
if (wechatUserInfo == null) {
wechatUserInfo = TokenUtil.getWechatUserDetail();
THREAD_LOCAL_WECHAT_USER.set(wechatUserInfo);
//THREAD_LOCAL_WECHAT_USER.set(wechatUserInfo);
}
return wechatUserInfo;
}
......
......@@ -105,7 +105,7 @@ public class BehaviorAlarm implements IAlarm{
}
//保存每次进入空间时长
saveDayDurationRecord(platAlarmCheckDTO,alarmRedisDTO);
RedisUtil.set(RedisConst.ALARM_DEVICE_ID + deviceId,null);
RedisUtil.delete(RedisConst.ALARM_DEVICE_ID + deviceId);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment