package com.zswl.dataservice.controller.free; import com.zswl.dataservice.model.mqtt.GateWayInfoAddParam; import com.zswl.dataservice.service.fix.FixDataService; import com.zswl.dataservice.utils.result.ResultContent; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.util.Assert; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; /** * @author TRX * @date 2024/6/27 */ @RequestMapping("/fixData") @RestController @Validated @Tag(name = "修复数据") public class FixDataController { @Autowired private FixDataService fixDataService; @Operation(summary = "同步全部设备") @RequestMapping(value = "fixSyncDevice", method = {RequestMethod.GET}) public ResultContent fixSyncDevice() { return fixDataService.fixSyncDevice(); } }