From 634a8abd408e87e58b4b8e9f52ddf309b43652d0 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 29 十月 2019 12:42:32 +0800 Subject: [PATCH] 修改配置文件 添加系统券返利到账订阅 --- fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserComplaintServiceImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserComplaintServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserComplaintServiceImpl.java index 50ad3d6..4362772 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserComplaintServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserComplaintServiceImpl.java @@ -9,7 +9,7 @@ import javax.annotation.Resource; import org.springframework.stereotype.Service; -import org.springframework.web.multipart.commons.CommonsMultipartFile; +import org.springframework.web.multipart.MultipartFile; import org.yeshi.utils.tencentcloud.COSManager; import com.yeshi.fanli.dao.mybatis.user.UserComplaintMapper; @@ -27,7 +27,7 @@ private UserComplaintMapper userComplaintMapper; @Override - public void addUserComplaint(List<CommonsMultipartFile> fileList, Long uid, String content) + public void addUserComplaint(List<MultipartFile> fileList, Long uid, String content) throws UserComplaintException, IOException, Exception { if (content == null || content.trim().length() == 0) { @@ -45,7 +45,7 @@ JSONArray array = new JSONArray(); // 鏂囦欢涓婁紶 - for (CommonsMultipartFile file: fileList) { + for (MultipartFile file: fileList) { InputStream inputStream = file.getInputStream(); String contentType = file.getContentType(); -- Gitblit v1.8.0