| | |
| | | |
| | | import cn.gistack.resource.entity.QieTuEntity; |
| | | import org.springblade.core.launch.constant.AppConstant; |
| | | import org.springblade.core.sms.model.SmsResponse; |
| | | |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.io.FileNotFoundException; |
| | | import java.io.IOException; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | /** |
| | | * IOssClient |
| | | * |
| | | * @author kelu |
| | | */ |
| | | import feign.Body; |
| | | import feign.Headers; |
| | | import org.springblade.core.launch.constant.AppConstant; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.http.MediaType; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.io.InputStream; |
| | | |
| | | @FeignClient( |
| | | value = AppConstant.APPLICATION_RESOURCE_NAME, |
| | |
| | | String API_PREFIX = "/client"; |
| | | String UPLOAD_QIETU = API_PREFIX + "/upload-qietu"; |
| | | |
| | | String UPLOAD_FORMATETU = API_PREFIX + "/upload-formate"; |
| | | |
| | | |
| | | @PostMapping(UPLOAD_QIETU) |
| | | R uploadQietu(@RequestBody QieTuEntity qieTuEntity) throws IOException; |
| | | @PostMapping(UPLOAD_FORMATETU) |
| | | R uploadFormate(@RequestBody QieTuEntity qieTuEntity) throws IOException; |
| | | |
| | | |
| | | String UPLOAD_FILE = API_PREFIX + "uploadFile"; |