|
@@ -32,7 +32,7 @@ public class FileUpdateInfoController {
|
|
|
public ApiResult<String> checkFileUpdate(@RequestParam Long id) {
|
|
|
try {
|
|
|
boolean isUpdateRequired = fileUpdateInfoService.checkFileUpdate(id);
|
|
|
- return ApiResult.success(isUpdateRequired ? "需要更新" : "不需要更新");
|
|
|
+ return ApiResult.success(isUpdateRequired ? "有新版本需更新" : "无需更新");
|
|
|
} catch (Exception e) {
|
|
|
return ApiResult.error("检查文件更新失败: " + e.getMessage());
|
|
|
}
|