Browse Source

Merge branch 'feature-lihb-20250610' of http://219.151.181.73:3000/zhuwei/bladex into test-merge

LHB 2 tháng trước cách đây
mục cha
commit
77018edd1f

+ 12 - 0
blade-service/blade-business/src/main/java/org/springblade/business/controller/StandardInfoController.java

@@ -16,6 +16,7 @@ import org.springblade.core.mp.support.Query;
 import org.springblade.core.tool.api.R;
 import org.springframework.validation.annotation.Validated;
 import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
 
 import javax.annotation.Resource;
 import java.util.List;
@@ -193,5 +194,16 @@ public class StandardInfoController {
         return R.data(list);
     }
 
+    /**
+     * 上传文件接口
+     */
+    @ApiOperation(value = "上传文件")
+    @ApiImplicitParam(name = "file", value = "文件", required = true)
+    @PostMapping("/upload-file")
+    public R<String> uploadFile(MultipartFile file) {
+//        String url = this.uStandardInfoService.uploadFile(file);
+        return R.data("http://test.pdf");
+    }
+
 }