| | |
| | | package com.stylefeng.guns.modular.api; |
| | | |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.stylefeng.guns.modular.system.model.OrderPosition; |
| | | import com.stylefeng.guns.modular.system.service.IDriverService; |
| | | import com.stylefeng.guns.modular.system.service.INettyService; |
| | |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/base/netty/deleteTask") |
| | | public ResultUtil deleteTask(Integer orderId, Integer orderType){ |
| | | public String deleteTask(Integer orderId, Integer orderType){ |
| | | try { |
| | | pushUtil.removeTask(orderId, orderType); |
| | | return ResultUtil.success(); |
| | | return JSON.toJSONString(ResultUtil.success()); |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |
| | | return ResultUtil.runErr(); |
| | | return JSON.toJSONString(ResultUtil.runErr()); |
| | | } |
| | | } |
| | | |