Commit 4965bf073669322a68d283a3cd3ae5b8905f33e8

Authored by liwei2917
1 parent a6581ed6

频道审核修改

src/main/java/com/cnlive/shenhe/api/ChannelControllerApi.java
... ... @@ -56,6 +56,7 @@ public class ChannelControllerApi {
56 56 shyChannel1.setChannel_img(json.getString("face"));
57 57 shyChannel1.setCallback(json.getString("callback"));
58 58 shyChannel1.setSp_id(sp_id);
  59 + shyChannel1.setAuditor(null);
59 60 shyChannel1.setOffline(0);//是否下线 0表示正常 1表示下线
60 61 shyChannel1.setUpdated_at(CommonUtils.getCurrentTime());
61 62 boolean YorN = channelService.updateshyChannel(shyChannel1);
... ...
src/main/java/com/cnlive/shenhe/utils/AuditPass.java
... ... @@ -85,6 +85,7 @@ public class AuditPass {
85 85 * @return
86 86 */
87 87 public JSONObject commentPass(JSONObject json, String callBack) {
  88 + logger.info("评论审核回调:param:{}", json);
88 89 Map<String, String> map = new HashMap<>();
89 90 map.put("param", json.toJSONString());
90 91 String result = HttpUtil.form(callBack, map);
... ... @@ -98,6 +99,7 @@ public class AuditPass {
98 99 * @return
99 100 */
100 101 public JSONObject channelPass(JSONObject json, String callBack) {
  102 + logger.info("频道审核回调:param:{}", json);
101 103 Map<String, String> map = new HashMap<>();
102 104 map.put("param", json.toJSONString());
103 105 String result = HttpUtil.form(callBack, map);
... ...
src/main/resources/templates/page/channel.html
... ... @@ -518,7 +518,6 @@
518 518 //提交打回
519 519 function repulseSubmit() {
520 520 var ids = $('#channel_id_hidden').val();
521   - alert(ids);
522 521 var msg = $("#reviewMsg").val();
523 522 $.post("/channel/repulse?ids=" + ids + "&msg=" + msg, function (data) {
524 523 if (data.errorCode == 0) {
... ...