From dbe87fddc43db7e5486489c3a011cc6474c4701c Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期四, 09 十月 2025 16:46:42 +0800
Subject: [PATCH] #和得服务器
---
src/main/java/com/zy/asrs/controller/OpenController.java | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/asrs/controller/OpenController.java b/src/main/java/com/zy/asrs/controller/OpenController.java
index 4d96559..8c343cc 100644
--- a/src/main/java/com/zy/asrs/controller/OpenController.java
+++ b/src/main/java/com/zy/asrs/controller/OpenController.java
@@ -304,6 +304,9 @@
if (Cools.isEmpty(param.getId())) {
return R.error("鍗曟嵁缂栧彿[order_id]涓嶈兘涓虹┖");
}
+ if (Integer.parseInt(param.getId())<2){
+ return R.ok().add("鏉ユ枡鍙g┖闂村浣嶆垚鍔�");
+ }
if (Cools.isEmpty(param.getType())) {
return R.error("瀹汉鍨嬪彿[pick_num]涓嶈兘涓虹┖");
}
@@ -370,6 +373,7 @@
* 鏄惁瀛樺湪鍚庣画鎵樼洏
*/
@PostMapping("/arm/task/order_sign")
+ @AppAuth(memo = "鏄惁瀛樺湪鍚庣画鎵樼洏")
public synchronized R TaskArmWorkOrderSign(@RequestHeader(required = false) String appkey,
@RequestBody OrderArmEndParam param,
HttpServletRequest request) {
--
Gitblit v1.9.1