|
@@ -116,7 +116,7 @@ public class ReportInfoController extends BaseController{
|
|
|
@PostMapping("/image")
|
|
|
@ApiOperation("上传举报信息")
|
|
|
public Response<FileVo> uploadImage(MultipartFile multFile) throws IOException {
|
|
|
- String savePath = AliyunConfig.gzpt_user
|
|
|
+ String savePath = AliyunConfig.GZPT_REPORT
|
|
|
+ new SimpleDateFormat("yyyyMMdd").format(new Date()) + "/report/";
|
|
|
String fileName = System.currentTimeMillis() + ".jpg";//文件名
|
|
|
String fileUrl = AliyunUpload.uploadForStream(multFile.getInputStream(), savePath, fileName);
|