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/ResourceController.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/system/controller/ResourceController.java b/src/main/java/com/zy/system/controller/ResourceController.java
index b7d3d41..558e53f 100644
--- a/src/main/java/com/zy/system/controller/ResourceController.java
+++ b/src/main/java/com/zy/system/controller/ResourceController.java
@@ -75,7 +75,7 @@
@ManagerAuth(memo = "鑿滃崟缂栬緫")
public R edit(Resource resource) {
if (Cools.isEmpty(resource)){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
if (null == resource.getId()){
if (resource.getSort() == null){
@@ -99,7 +99,7 @@
@ManagerAuth(memo = "鑿滃崟淇敼")
public R update(Resource resource){
if (Cools.isEmpty(resource) || null==resource.getId()){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
resourceService.updateById(resource);
return R.ok();
--
Gitblit v1.9.1