|
@@ -5,6 +5,7 @@ import com.zy.bms.common.ServerResponse;
|
|
import com.zy.bms.common.io.pc.MqttLogsIO;
|
|
import com.zy.bms.common.io.pc.MqttLogsIO;
|
|
import com.zy.bms.service.MqttLogService;
|
|
import com.zy.bms.service.MqttLogService;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
@@ -44,7 +45,7 @@ public class PcMqttLogController {
|
|
/**
|
|
/**
|
|
* 分页查询日志
|
|
* 分页查询日志
|
|
*/
|
|
*/
|
|
- @GetMapping("listPage.do")
|
|
|
|
|
|
+ @PostMapping("listPage.do")
|
|
public ServerResponse getListPage(MqttLogsIO io) {
|
|
public ServerResponse getListPage(MqttLogsIO io) {
|
|
return ServerResponse.createBySuccess(mqttLogService.getListPage(io));
|
|
return ServerResponse.createBySuccess(mqttLogService.getListPage(io));
|
|
}
|
|
}
|