自动化立体仓库 - WMS系统
skyouc
10 小时以前 f6e687c194354f1c0b883b5ac56da3a8e70db471
src/main/java/com/zy/api/controller/HmesApiController.java
@@ -9,6 +9,7 @@
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -31,7 +32,7 @@
    @ManagerAuth
    @ApiOperation("下发生产任务")
    @PostMapping("/work/tasks")
    public R menauWork(ReceviceTaskParams params) {
    public R menauWork(@RequestBody ReceviceTaskParams params) {
        if (Objects.isNull(params)) {
            return R.error("参数不能为空!!");
        }
@@ -50,9 +51,9 @@
     * @return com.core.common.R
     */
    @ManagerAuth
    @ApiOperation("下发生产任务")
    @ApiOperation("穿线完成")
    @PostMapping("/work/release/lock")
    public R releaseLock(ReceviceTaskParams params) {
    public R releaseLock(@RequestBody ReceviceTaskParams params) {
        if (Objects.isNull(params)) {
            return R.error("参数不能为空!!");
        }