Commit e9af105de2dc928c55d4bcef04cc852cf76da483
1 parent
855de824
点播审核增加日志
Showing
2 changed files
with
2 additions
and
0 deletions
src/main/java/com/cnlive/shenhe/controller/VideosController.java
| @@ -473,6 +473,7 @@ public class VideosController extends BaseController { | @@ -473,6 +473,7 @@ public class VideosController extends BaseController { | ||
| 473 | @PostMapping("/repulse") | 473 | @PostMapping("/repulse") |
| 474 | @ResponseBody | 474 | @ResponseBody |
| 475 | public ResponseBean repulse(String ids, String msg, HttpSession session) { | 475 | public ResponseBean repulse(String ids, String msg, HttpSession session) { |
| 476 | + logger.info("ids:{},msg:{}",ids,msg); | ||
| 476 | SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey()); | 477 | SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey()); |
| 477 | String userId = sessionUser.getUserId(); | 478 | String userId = sessionUser.getUserId(); |
| 478 | ResponseBean responseBean = new ResponseBean(); | 479 | ResponseBean responseBean = new ResponseBean(); |
src/main/java/com/cnlive/shenhe/utils/AuditPass.java
| @@ -75,6 +75,7 @@ public class AuditPass { | @@ -75,6 +75,7 @@ public class AuditPass { | ||
| 75 | } | 75 | } |
| 76 | String URL = callBack + "?platform=" + platformKey + "&token=" + token; | 76 | String URL = callBack + "?platform=" + platformKey + "&token=" + token; |
| 77 | Map<String, String> post = httpUtil.post(URL); | 77 | Map<String, String> post = httpUtil.post(URL); |
| 78 | + logger.info("点播回调结果:{}",post.get("result")); | ||
| 78 | return JSONObject.parseObject(post.get("result")); | 79 | return JSONObject.parseObject(post.get("result")); |
| 79 | } | 80 | } |
| 80 | /** | 81 | /** |