dos 2 månader sedan
förälder
incheckning
09302c9f45

+ 1 - 1
game-business/src/main/java/com/game/business/controller/AppUserController.java

@@ -323,7 +323,7 @@ public class AppUserController extends BaseController
         map.put("description", liveLive.getTitle());
 
         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.ok(liveLive.getIslive().intValue()==1?"关播":"虚拟开播"+"成功");