mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
🐛 #1424 修复开放平台execute方法加同步锁导致的并发性能问题
This commit is contained in:
parent
2cd362dc40
commit
1a8ec43d26
@ -42,7 +42,7 @@ public abstract class WxOpenServiceAbstractImpl<H, P> implements WxOpenService,
|
||||
*/
|
||||
public abstract void initHttp();
|
||||
|
||||
protected synchronized <T, E> T execute(RequestExecutor<T, E> executor, String uri, E data) throws WxErrorException {
|
||||
protected <T, E> T execute(RequestExecutor<T, E> executor, String uri, E data) throws WxErrorException {
|
||||
try {
|
||||
T result = executor.execute(uri, data, WxType.Open);
|
||||
this.log.debug("\n【请求地址】: {}\n【请求参数】:{}\n【响应数据】:{}", uri, data, result);
|
||||
|
Loading…
Reference in New Issue
Block a user