|
@@ -323,7 +323,7 @@ public class AppUserController extends BaseController
|
|
map.put("description", liveLive.getTitle());
|
|
map.put("description", liveLive.getTitle());
|
|
|
|
|
|
String res = HttpClientUtils.ajaxPost(url,map);
|
|
String res = HttpClientUtils.ajaxPost(url,map);
|
|
- if(StringUtils.isBlank(res) && JSONObject.parseObject(res).getString("code") != "1"){
|
|
|
|
|
|
+ if(StringUtils.isBlank(res) || JSONObject.parseObject(res).getString("code") != "1"){
|
|
return R.fail(liveLive.getIslive().intValue()==1?"关播":"虚拟开播"+"失败");
|
|
return R.fail(liveLive.getIslive().intValue()==1?"关播":"虚拟开播"+"失败");
|
|
}
|
|
}
|
|
return R.ok(liveLive.getIslive().intValue()==1?"关播":"虚拟开播"+"成功");
|
|
return R.ok(liveLive.getIslive().intValue()==1?"关播":"虚拟开播"+"成功");
|