From 2a24c69b830d9dc97a8673f5f69418e9f95f3e1b Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期一, 07 七月 2025 10:43:33 +0800
Subject: [PATCH] no message

---
 zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/MobileController.java |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/MobileController.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/MobileController.java
index db9e923..db6218b 100644
--- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/MobileController.java
+++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/MobileController.java
@@ -27,6 +27,7 @@
 import com.zy.asrs.wms.system.service.UserService;
 import io.jsonwebtoken.lang.Collections;
 import io.netty.util.internal.StringUtil;
+import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Value;
 import org.springframework.web.bind.annotation.*;
@@ -65,6 +66,7 @@
      * @param barcode
      * @return
      */
+    @ApiOperation("鍏ュ簱鍗曟嵁--鎵爜鑾峰彇璁㈠崟鏄庣粏鍒楄〃")
     @PostMapping("/mat/auth")
     public R getProductForBarcode(@RequestBody Map<String, String> barcode) {
         if (Objects.isNull(barcode)) {
@@ -295,6 +297,31 @@
         return mobileService.selectShippingDetl(params);
     }
 
+
+    /**
+     * @author Ryan
+     * @date 2025/6/28
+     * @description: 鑾峰彇鎺ㄨ崘搴撲綅
+     * @version 1.0
+     */
+    @GetMapping("/recommend/locs")
+    public R getRecommend() {
+        return  mobileService.getRecommendLocs();
+    }
+
+
+    /**
+     * @author Ryan
+     * @date 2025/6/28
+     * @description: 鏌ヨ鐗╂枡淇℃伅
+     * @version 1.0
+     */
+    @GetMapping("/mats/search/{matnr}")
+    public R getMats(@PathVariable String matnr) {
+        return mobileService.getMatsByCode(matnr);
+    }
+
+
     /**
      * 纭鍙戣揣鍗曟槑缁�
      * @return

--
Gitblit v1.9.1