| | |
| | | package com.ruoyi.system.api.service; |
| | | |
| | | import com.ruoyi.system.api.domain.dto.CodeGetDto; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.http.MediaType; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestPart; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | import com.ruoyi.common.core.constant.ServiceNameConstants; |
| | |
| | | */ |
| | | @PostMapping(value = "/upload", consumes = MediaType.MULTIPART_FORM_DATA_VALUE) |
| | | public R<SysFile> upload(@RequestPart(value = "file") MultipartFile file); |
| | | |
| | | /** |
| | | * @description 生成二维码 |
| | | * @author jqs |
| | | * @date 2023/8/3 12:57 |
| | | * @param codeGetDto |
| | | * @return R<String> |
| | | */ |
| | | @PostMapping("/file/getCodeUrl") |
| | | public R<String> getAppOrderTotal(@RequestBody CodeGetDto codeGetDto); |
| | | } |