Commit aea26d04e302274df4c9aae8176ab74253439a4f
1 parent
6bca0717
直播审核
Showing
1 changed file
with
3 additions
and
3 deletions
src/main/java/com/cnlive/shenhe/api/LiveControllerApi.java
| ... | ... | @@ -43,13 +43,13 @@ public class LiveControllerApi { |
| 43 | 43 | |
| 44 | 44 | @PostMapping("/import") |
| 45 | 45 | @ResponseBody |
| 46 | - public JSONObject impotVideo(String data) { | |
| 46 | + public JSONObject impotVideo(String param) { | |
| 47 | 47 | JSONObject map = new JSONObject(); |
| 48 | 48 | JSONObject result = new JSONObject(); |
| 49 | 49 | boolean YorN =true;//初始化一个请求数据库返回结果 |
| 50 | 50 | |
| 51 | - logger.info("直播入库,data=====" + data); | |
| 52 | - JSONObject json = JSONObject.parseObject(data); | |
| 51 | + logger.info("直播入库,data=====" + param); | |
| 52 | + JSONObject json = JSONObject.parseObject(param); | |
| 53 | 53 | //获取所有参数 |
| 54 | 54 | String activityId = json.getString("activityId");//直播活动id |
| 55 | 55 | String activityName = json.getString("activityName");//直播活动名称 | ... | ... |