File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
base/src/main/java/com/tinyengine/it/controller Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 4343import org .springframework .web .multipart .MultipartFile ;
4444
4545import java .io .OutputStream ;
46- import java .net .URLDecoder ;
4746import java .net .URLEncoder ;
4847import java .nio .charset .StandardCharsets ;
4948import java .util .Base64 ;
@@ -303,7 +302,7 @@ public Result<Resource> detail(@PathVariable Integer id) {
303302 @ Parameter (name = "isResource" , description = "isResource" ),
304303 }, responses = {
305304 @ ApiResponse (responseCode = "200" , description = "图片流数据" ,
306- content = @ Content (mediaType = "application/json " , schema = @ Schema (implementation = Resource .class ))),
305+ content = @ Content (mediaType = "image/* " , schema = @ Schema (implementation = Resource .class ))),
307306 @ ApiResponse (responseCode = "400" , description = "请求失败" )
308307 })
309308 @ SystemControllerLog (description = "获取资源" )
You can’t perform that action at this time.
0 commit comments