ソースを参照

测试获取登录人信息

wangchao 4 年 前
コミット
a7b33342ce

+ 0 - 1
location-rescue-service/src/main/java/com/ai/bss/location/rescue/controller/AlarmManagementController.java

32
	public CommonResponse<Map<String,Object>> loadAlarmDetails() throws Exception {
32
	public CommonResponse<Map<String,Object>> loadAlarmDetails() throws Exception {
33
		return alarmManagementService.loadAlarmDetails();
33
		return alarmManagementService.loadAlarmDetails();
34
	}
34
	}
35
	
36
}
35
}

+ 3 - 3
location-rescue-service/src/main/java/com/ai/bss/location/rescue/controller/EquipmentManageController.java

102
	@ResponseBody
102
	@ResponseBody
103
	@RequestMapping("/queryAllEquipmentNotBind")
103
	@RequestMapping("/queryAllEquipmentNotBind")
104
	public CommonResponse<PageInfo<Map<String, Object>>> queryAllEquipmentNotBind(HttpServletRequest request) throws Exception {
104
	public CommonResponse<PageInfo<Map<String, Object>>> queryAllEquipmentNotBind(HttpServletRequest request) throws Exception {
105
		//TODO 权限控制
106
		//JSONObject userInfo = new LoginUserInfoUtil().getUserInfo(request);
107
		//Object user_org_id = userInfo.get("USER_ORG_ID");
105
	/*	//TODO 权限控制
106
		JSONObject userInfo = new LoginUserInfoUtil().getUserInfo(request);
107
		Object user_org_id = userInfo.get("USER_ORG_ID");*/
108
		return equipmentManageService.queryAllEquipmentNotBind();
108
		return equipmentManageService.queryAllEquipmentNotBind();
109
	}
109
	}
110
110