会计其他资料接口

new
JiilingLee 1 year ago
parent 209c441a3e
commit 5f1f752dc9

@ -77,7 +77,7 @@ public class OtherController {
return success(OtherConvert.INSTANCE.convert(other)); return success(OtherConvert.INSTANCE.convert(other));
} }
@GetMapping("/upload") @PostMapping("/upload")
@Operation(summary = "上传其他资料") @Operation(summary = "上传其他资料")
@Parameter(name = "multipartFile", description = "文件", required = true) @Parameter(name = "multipartFile", description = "文件", required = true)
@PreAuthorize("@ss.hasPermission('accounting:other:create')") @PreAuthorize("@ss.hasPermission('accounting:other:create')")

@ -47,4 +47,7 @@ public class OtherBaseVO {
@Schema(description = "备注", example = "你猜") @Schema(description = "备注", example = "你猜")
private String remark; private String remark;
@Schema(description = "文件地址")
private String fileUrl;
} }

Loading…
Cancel
Save