From 7b7536f2923b5ce06d4b69b22c16e1a4946bf16b Mon Sep 17 00:00:00 2001 From: admin <2780501319@qq.com> Date: 星期二, 03 三月 2020 15:15:18 +0800 Subject: [PATCH] 小程序商品详情更改 --- fanli/src/main/java/com/yeshi/fanli/controller/admin/GoodsEvaluateAdminController.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/admin/GoodsEvaluateAdminController.java b/fanli/src/main/java/com/yeshi/fanli/controller/admin/GoodsEvaluateAdminController.java index fd3848e..16fdff5 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/admin/GoodsEvaluateAdminController.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/admin/GoodsEvaluateAdminController.java @@ -135,9 +135,9 @@ * @param out */ @RequestMapping(value = "saveGoodsCoupon") - public void saveGoodsCoupon(String callback, String pid, String tags, String tagDesc, PrintWriter out) { + public void saveGoodsCoupon(String callback, String pid, String content, PrintWriter out) { try { - goodsEvaluateService.saveGoodsCoupon(pid, tags, tagDesc); + goodsEvaluateService.saveGoodsCoupon(pid, content); JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult("淇濆瓨鎴愬姛")); } catch (GoodsEvaluateException e) { JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult(e.getMsg())); @@ -239,7 +239,7 @@ && goodsEvaluate.getComments().size() > 0) { for (CommentInfo info : goodsEvaluate.getComments()) { if (info != null) - if (CommentInfoEnum.currencyCoupon == info.getType()) { + if (CommentInfoEnum.currencyCoupon == info.getTypeEnum()) { commentInfo = info; } } @@ -270,7 +270,7 @@ && goodsEvaluate.getComments().size() > 0) { for (CommentInfo info : goodsEvaluate.getComments()) { if (info != null) - if (CommentInfoEnum.goodsCoupon == info.getType()) { + if (CommentInfoEnum.goodsCoupon == info.getTypeEnum()) { commentInfo = info; } } -- Gitblit v1.8.0