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

代码优化

Former-commit-id: b9dce5e6
上级 94af3bd4
......@@ -12,6 +12,7 @@ import com.msl.common.result.Result;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
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.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
......@@ -51,7 +52,7 @@ public class TempController {
@ApiOperation(value = "test", notes = "<br>By:艾庆国")
@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();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论