mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-25 01:14:36 +08:00
修复完善用户标签修改接口
This commit is contained in:
parent
214661b6c6
commit
8374971045
@ -66,6 +66,10 @@ public class WxMpUserTagServiceImpl implements WxMpUserTagService {
|
|||||||
String responseContent = this.wxMpService.post(url, json.toString());
|
String responseContent = this.wxMpService.post(url, json.toString());
|
||||||
this.log.debug("\nurl:{}\nparams:{}\nresponse:{}", url, json.toString(), responseContent);
|
this.log.debug("\nurl:{}\nparams:{}\nresponse:{}", url, json.toString(), responseContent);
|
||||||
WxError wxError = WxError.fromJson(responseContent);
|
WxError wxError = WxError.fromJson(responseContent);
|
||||||
return wxError.getErrorCode() == 0;
|
if (wxError.getErrorCode() == 0) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
throw new WxErrorException(wxError);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user