提交 b9dce5e6 authored 作者: 艾庆国's avatar 艾庆国

代码优化

上级 a1bd38d3
...@@ -12,6 +12,7 @@ import com.msl.common.result.Result; ...@@ -12,6 +12,7 @@ import com.msl.common.result.Result;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -51,7 +52,7 @@ public class TempController { ...@@ -51,7 +52,7 @@ public class TempController {
@ApiOperation(value = "test", notes = "<br>By:艾庆国") @ApiOperation(value = "test", notes = "<br>By:艾庆国")
@RequestMapping(value = "/test", method = RequestMethod.POST) @RequestMapping(value = "/test", method = RequestMethod.POST)
public Result test(List<String> mobileList, String warnName, String truckNo, String childNo) { public Result test(@RequestBody List<String> mobileList, String warnName, String truckNo, String childNo) {
//触发{指定预警名称}预警;车牌号{车牌号};运单{运单号};请尽快核实情况 //触发{指定预警名称}预警;车牌号{车牌号};运单{运单号};请尽快核实情况
ClinkBatchMessageReq req = new ClinkBatchMessageReq(); ClinkBatchMessageReq req = new ClinkBatchMessageReq();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论