Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop

This commit is contained in:
Chopper
2021-06-23 16:47:45 +08:00
2 changed files with 107 additions and 3 deletions

View File

@@ -156,7 +156,11 @@ public class WechatLivePlayerUtil {
String content = HttpUtils.doPostWithJson(url, map);
JSONObject json = new JSONObject(content);
log.info("微信小程序直播间删除商品:" + content);
return json.getStr("errcode").equals("0");
if(json.getStr("errcode").equals("0")){
return true;
}
throw new ServiceException(json.getStr("errmsg"));
}
/**