直播间删除商品,返回错误
This commit is contained in:
parent
b574dfb04f
commit
c1bce3fc3b
@ -156,7 +156,11 @@ public class WechatLivePlayerUtil {
|
|||||||
String content = HttpUtils.doPostWithJson(url, map);
|
String content = HttpUtils.doPostWithJson(url, map);
|
||||||
JSONObject json = new JSONObject(content);
|
JSONObject json = new JSONObject(content);
|
||||||
log.info("微信小程序直播间删除商品:" + content);
|
log.info("微信小程序直播间删除商品:" + content);
|
||||||
return json.getStr("errcode").equals("0");
|
if(json.getStr("errcode").equals("0")){
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
throw new ServiceException(json.getStr("errmsg"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user