| | |
| | | import com.zy.asrs.entity.WaitPakin; |
| | | import com.zy.asrs.service.WaitPakinService; |
| | | import com.zy.asrs.utils.Utils; |
| | | import com.alibaba.fastjson.JSON; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | @Api("WCS交互接口") |
| | | @RequestMapping("/wcs") |
| | | @RestController |
| | | @Slf4j |
| | | public class WcsApiController { |
| | | |
| | | @Autowired |
| | |
| | | if (Objects.isNull(params)) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | log.info("[receviceTaskFromWcs] cache: {}", JSON.toJSONString(params)); |
| | | request.setAttribute("cache", params); |
| | | return wcsApiService.receviceTaskFromWcs(params); |
| | | |