Commit dfa69e338d69bd031040614272614273b84eca40

Authored by liwei2917
1 parent aea26d04

直播审核

src/main/java/com/cnlive/shenhe/api/LiveControllerApi.java
... ... @@ -48,7 +48,7 @@ public class LiveControllerApi {
48 48 JSONObject result = new JSONObject();
49 49 boolean YorN =true;//初始化一个请求数据库返回结果
50 50  
51   - logger.info("直播入库,data=====" + param);
  51 + logger.info("直播入库,param=====" + param);
52 52 JSONObject json = JSONObject.parseObject(param);
53 53 //获取所有参数
54 54 String activityId = json.getString("activityId");//直播活动id
... ...
src/main/java/com/cnlive/shenhe/controller/LiveController.java
... ... @@ -256,7 +256,7 @@ public class LiveController {
256 256 ShyLive shyLive = liveService.selectByPrimaryKey(Integer.parseInt(shyLiveId));
257 257 JSONObject result = null;
258 258 try {
259   - result = Pass.auditPass(shyLive.getActivity_id(), 6, msg, msg, shyLive.getCallback());
  259 + result = Pass.livePass(shyLive.getActivity_id(), 6, msg, msg, shyLive.getCallback());
260 260 } catch (Exception e) {
261 261 logger.error("直播视频审核失败,id==" + shyLiveId, e);
262 262 showMsg = showMsg + "," + shyLive.getActivity_id() + " 拒绝请求失败";
... ...