| | |
| | | import com.moral.api.pojo.form.user.UserUpdateForm; |
| | | import com.moral.api.pojo.vo.user.UserQueryVO; |
| | | import com.moral.api.service.DeviceAdjustValueService; |
| | | import com.moral.api.service.DeviceService; |
| | | import com.moral.api.service.UserService; |
| | | import com.moral.api.util.CacheUtils; |
| | | import com.moral.constant.ResponseCodeEnum; |
| | |
| | | public class PubController { |
| | | @Autowired |
| | | private CacheUtils cacheUtils; |
| | | @Autowired |
| | | private DeviceService deviceService; |
| | | @Resource |
| | | private DeviceAdjustValueService deviceAdjustValueService; |
| | | |
| | |
| | | return new ResultMessage(); |
| | | } |
| | | |
| | | @GetMapping(value = "device") |
| | | @ApiOperation(value = "redis重新编译device", notes = "redis重新编译device") |
| | | public ResultMessage device() { |
| | | deviceService.setRedisDevice(); |
| | | return new ResultMessage(); |
| | | } |
| | | |
| | | @GetMapping(value = "selectDeviceInfoById") |
| | | @ApiOperation(value = "获取信息", notes = "获取信息") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "token", value = "token", required = true, paramType = "header", dataType = "String") |
| | | }) |
| | | public ResultMessage selectDeviceInfoById(Integer mac) { |
| | | Map<String,Object> resultMap = deviceService.selectDeviceInfoById(mac); |
| | | return new ResultMessage(); |
| | | } |
| | | |
| | | } |