|
@@ -716,7 +716,7 @@ public class AppUserCountTask {
|
|
|
if(now.getTime() - e.getOffTime().getTime() >= 1*60*1000){
|
|
|
log.info("{}离线已超过1分钟,自动关播",e.getUserId());
|
|
|
//离线超过一分钟 自动关播
|
|
|
- String url = sysConfigService.selectConfigByKey("sys_live_apiurl").concat("/api/live/httpOpenCloseLive");
|
|
|
+ String url = sysConfigService.selectConfigByKey("sys_live_apiurl").concat("/api/live/httpClose");
|
|
|
Map<String, String> map = new HashMap<>();
|
|
|
map.put("roomId", String.valueOf(e.getRoomId()));
|
|
|
map.put("liveType", "1");
|