From 5701eb6693c654d53f1bba460eb3a417d495b344 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期三, 11 六月 2025 17:31:53 +0800
Subject: [PATCH] bug修复;下发任务给rcs携带货架码
---
src/main/java/com/zy/system/controller/ApiController.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/zy/system/controller/ApiController.java b/src/main/java/com/zy/system/controller/ApiController.java
index 9c65e8b..d07ae5f 100644
--- a/src/main/java/com/zy/system/controller/ApiController.java
+++ b/src/main/java/com/zy/system/controller/ApiController.java
@@ -58,7 +58,7 @@
@ManagerAuth
public R edit(Api api) {
if (Cools.isEmpty(api)){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
if (null == api.getId()){
apiService.insert(api);
@@ -79,7 +79,7 @@
@ManagerAuth
public R update(Api api){
if (Cools.isEmpty(api) || null==api.getId()){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
apiService.updateById(api);
return R.ok();
@@ -89,7 +89,7 @@
@ManagerAuth
public R delete(Integer[] ids){
if (Cools.isEmpty(ids)){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
apiService.deleteBatchIds(Arrays.asList(ids));
return R.ok();
--
Gitblit v1.9.1