|
|
@ -149,4 +149,12 @@ public class DeviceProController { |
|
|
List<DeviceProEntity> result = deviceProService.listUserGroup(); |
|
|
List<DeviceProEntity> result = deviceProService.listUserGroup(); |
|
|
return HttpResultResponse.success(result); |
|
|
return HttpResultResponse.success(result); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 初始化将设备组数据存入redis |
|
|
|
|
|
*/ |
|
|
|
|
|
@GetMapping("/redis/init") |
|
|
|
|
|
public HttpResultResponse<Boolean> initProRedisCache(){ |
|
|
|
|
|
return HttpResultResponse.success(deviceProService.initProRedisCache()); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|