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/asrs/controller/AppVersionController.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/asrs/controller/AppVersionController.java b/src/main/java/com/zy/asrs/controller/AppVersionController.java
index b65b7ae..3787c4c 100644
--- a/src/main/java/com/zy/asrs/controller/AppVersionController.java
+++ b/src/main/java/com/zy/asrs/controller/AppVersionController.java
@@ -66,7 +66,7 @@
}
AppVersion latestApp = appVersionService.getLatestApp(type);
if (latestApp == null) {
- return R.error();
+ return R.error("鐗堟湰涓嶅瓨鍦�");
}
if (latestApp.getVersion().equals(version)) {
@@ -104,7 +104,7 @@
@ManagerAuth
public R update(AppVersion appVersion){
if (Cools.isEmpty(appVersion) || null==appVersion.getId()){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
if (appVersion.getLatest() == 1) {
//淇敼鏈�鏂扮増鏈椂锛岄渶瑕佸皢鍏朵粬鐗堟湰璁剧疆涓洪潪鏈�鏂扮増
--
Gitblit v1.9.1