Commit c4bea33f574c7ca9ae9bf6e5ff9bfe7e928bfa90

Authored by liwei2917
1 parent 4965bf07

频道修改

src/main/java/com/cnlive/shenhe/api/ChannelControllerApi.java
@@ -56,9 +56,11 @@ public class ChannelControllerApi { @@ -56,9 +56,11 @@ public class ChannelControllerApi {
56 shyChannel1.setChannel_img(json.getString("face")); 56 shyChannel1.setChannel_img(json.getString("face"));
57 shyChannel1.setCallback(json.getString("callback")); 57 shyChannel1.setCallback(json.getString("callback"));
58 shyChannel1.setSp_id(sp_id); 58 shyChannel1.setSp_id(sp_id);
59 - shyChannel1.setAuditor(null); 59 +// shyChannel1.setAuditor(null);
  60 +// shyChannel1.setUpdater(null);
60 shyChannel1.setOffline(0);//是否下线 0表示正常 1表示下线 61 shyChannel1.setOffline(0);//是否下线 0表示正常 1表示下线
61 shyChannel1.setUpdated_at(CommonUtils.getCurrentTime()); 62 shyChannel1.setUpdated_at(CommonUtils.getCurrentTime());
  63 + channelService.getShenheType(shyChannel);
62 boolean YorN = channelService.updateshyChannel(shyChannel1); 64 boolean YorN = channelService.updateshyChannel(shyChannel1);
63 if (YorN == true) { 65 if (YorN == true) {
64 return new ResponseBean(ErrorEnum.SUCCESS.getErrorCode(),"审核请求收到成功"); 66 return new ResponseBean(ErrorEnum.SUCCESS.getErrorCode(),"审核请求收到成功");