修改商户二维码上传,新增品牌,辅助条码,spu

This commit is contained in:
zjf committed 2024-12-23 19:10:34 +08:00
1 parent 9b2f155f5a
commit 050e37afe9
32 files changed
+1216 -39

No files matched your search

@@ -1,10 +1,15 @@
package com.bsd.pjcloud.admin.api.feign;
import com.bsd.pjcloud.common.core.constant.ServiceNameConstants;
import com.bsd.pjcloud.common.core.util.R;
import feign.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.multipart.MultipartFile;
/**
* 文件读取
@@ -17,4 +22,11 @@ public interface RemoteFileService {
@GetMapping("/sys-file/oss/file")
Response getFile(@RequestParam String fileName);
@PostMapping(value = "/sys-file/upload",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
R upload(@RequestPart("file") MultipartFile file,
@RequestParam(value = "dir", required = false) String dir,
@RequestParam(value = "groupId", required = false) Long groupId,
@RequestParam(value = "type", required = false) String type);
}