change - PDA绑定接口

master
wangh 12 months ago
parent a830004005
commit 78ded83a69

@ -5,6 +5,7 @@ import com.aucma.common.core.domain.AjaxResult;
import com.aucma.common.utils.StringUtils; import com.aucma.common.utils.StringUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import java.util.Optional; import java.util.Optional;
@ -16,7 +17,8 @@ import static com.aucma.common.core.domain.AjaxResult.success;
* @author wanghao * @author wanghao
* @date 2023/11/14 9:28 * @date 2023/11/14 9:28
*/ */
@RestController("/api") @RestController
@RequestMapping(("/api"))
public class PdaBindingController { public class PdaBindingController {
@Autowired @Autowired
@ -30,7 +32,7 @@ public class PdaBindingController {
service.insertBindingInfo(boxCode,boxName,innerCode); service.insertBindingInfo(boxCode,boxName,innerCode);
return success() ; return success() ;
} }
return error("箱壳条码扫描"); return error("箱壳条码扫描错误");
} }
//条码绑定 //条码绑定
} }

Loading…
Cancel
Save