From d06ef3f44d6dc19dae223ab420165369ea13cc16 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 20 五月 2026 16:29:35 +0800
Subject: [PATCH] Merge branch 'dev_New_pro' of http://114.132.189.42:9002/r/product-inventory-management-after into dev_New_pro

---
 src/main/java/com/ruoyi/aftersalesservice/controller/AfterSalesServiceFileController.java |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/main/java/com/ruoyi/aftersalesservice/controller/AfterSalesServiceFileController.java b/src/main/java/com/ruoyi/aftersalesservice/controller/AfterSalesServiceFileController.java
index 9032852..2290e5b 100644
--- a/src/main/java/com/ruoyi/aftersalesservice/controller/AfterSalesServiceFileController.java
+++ b/src/main/java/com/ruoyi/aftersalesservice/controller/AfterSalesServiceFileController.java
@@ -6,7 +6,7 @@
 import com.ruoyi.framework.aspectj.lang.annotation.Log;
 import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
 import com.ruoyi.framework.web.controller.BaseController;
-import com.ruoyi.framework.web.domain.AjaxResult;
+import com.ruoyi.framework.web.domain.R;
 import io.swagger.v3.oas.annotations.tags.Tag;
 import io.swagger.v3.oas.annotations.Operation;
 import lombok.AllArgsConstructor;
@@ -34,24 +34,24 @@
     @PostMapping("/upload")
     @Operation(summary = "鍞悗鏈嶅姟-鏂囦欢涓婁紶")
     @Log(title = "鍞悗鏈嶅姟-鏂囦欢涓婁紶", businessType = BusinessType.INSERT)
-    public AjaxResult fileUpload(@RequestParam("file") MultipartFile file,
+    public R<?> fileUpload(@RequestParam("file") MultipartFile file,
                                  @RequestParam("id") Long afterSalesServiceId) {
         afterSalesServiceFileService.fileUpload(file, afterSalesServiceId);
-        return AjaxResult.success("涓婁紶鎴愬姛");
+        return R.ok(null, "涓婁紶鎴愬姛");
     }
 
     @GetMapping("/listPage")
     @Operation(summary = "鍞悗澶勭悊-鍞悗闄勪欢鍒楄〃")
     @Log(title = "鍞悗澶勭悊-鍞悗闄勪欢鍒楄〃", businessType = BusinessType.OTHER)
-    public AjaxResult fileList(Page<AfterSalesServiceFile> page, Long afterSalesServiceId) {
-        return AjaxResult.success(afterSalesServiceFileService.fileList(page, afterSalesServiceId));
+    public R<?> fileList(Page<AfterSalesServiceFile> page, Long afterSalesServiceId) {
+        return R.ok(afterSalesServiceFileService.fileList(page, afterSalesServiceId));
     }
 
     @DeleteMapping("/del/{fileId}")
     @Operation(summary = "鍞悗澶勭悊-鍒犻櫎闄勪欢")
     @Log(title = "鍞悗澶勭悊-鍒犻櫎闄勪欢", businessType = BusinessType.DELETE)
-    public AjaxResult delFile(@PathVariable Long fileId) {
+    public R<?> delFile(@PathVariable Long fileId) {
         afterSalesServiceFileService.delFile(fileId);
-        return AjaxResult.success("鍒犻櫎鎴愬姛!");
+        return R.ok(null, "鍒犻櫎鎴愬姛!");
     }
 }

--
Gitblit v1.9.3