zoujiajian před 1 rokem
rodič
revize
cce556a54c

+ 1 - 1
netflix-dao/src/main/java/com/cyksj/model/entity/UserFeedbackProgressRecord.java

@@ -39,5 +39,5 @@ public class UserFeedbackProgressRecord extends BaseEntity{
 	/**
 	 * 截图
 	 */
-	private String img;
+	private String imgs;
 }

+ 6 - 6
netflix-service/src/main/java/com/cyksj/service/suggest/impl/UserSuggestServiceImpl.java

@@ -38,12 +38,12 @@ public class UserSuggestServiceImpl implements UserSuggestService {
 	public void suggestGoodsUsage(UserFeedbackProgressRecord progressRecord) {
 		Long goodsId = progressRecord.getGoodsId();
 		Long userId = progressRecord.getUserId();
-		String img = progressRecord.getImg();
+		String imgs = progressRecord.getImgs();
 		String content = progressRecord.getContent();
-		if (StrUtil.isAllEmpty(img, content)) {
+		if (StrUtil.isAllEmpty(imgs, content)) {
 			throw BusinessRuntimeException.getInstance("请填写问题内容或截图");
 		}
-		if (StrUtil.isNotBlank(img) && img.length() > 1024) {
+		if (StrUtil.isNotBlank(imgs) && imgs.length() > 1024) {
 			throw BusinessRuntimeException.getInstance("图片过多");
 		}
 		if (StrUtil.isNotEmpty(content) && content.length() > 1000) {
@@ -102,11 +102,11 @@ public class UserSuggestServiceImpl implements UserSuggestService {
 			throw BusinessRuntimeException.getInstance("反馈记录不存在");
 		}
 		String content = progressRecord.getContent();
-		String img = progressRecord.getImg();
-		if (StrUtil.isAllEmpty(img, content)) {
+		String imgs = progressRecord.getImgs();
+		if (StrUtil.isAllEmpty(imgs, content)) {
 			throw BusinessRuntimeException.getInstance("请填写留言内容或截图");
 		}
-		if (StrUtil.isNotBlank(img) && img.length() > 1024) {
+		if (StrUtil.isNotBlank(imgs) && imgs.length() > 1024) {
 			throw BusinessRuntimeException.getInstance("图片过多");
 		}
 		if (StrUtil.isNotEmpty(content) && content.length() > 1000) {

+ 1 - 1
netflix-web/src/main/java/com/cyksj/web/controller/manage/feedback/UserFeedbackController.java

@@ -66,7 +66,7 @@ public class UserFeedbackController {
 	/**
 	 * 用户反馈留言进度列表
 	 */
-	@GetMapping("/feedback/progress/lsit")
+	@GetMapping("/feedback/progress/list")
 	public Result<SearchResult<UserFeedbackProgressRecord>> getFeedbackProgressList() {
 		SearchResult<UserFeedbackProgressRecord> search = beanSearcher.search(UserFeedbackProgressRecord.class, MapUtils.flatBuilder(request.getParameterMap()).orderBy(UserFeedbackProgressRecord::getId).build());
 		return GatewayResponse.SUCCESS.newBuilder().toResult(search);