mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-11-01 03:25:35 +08:00 
			
		
		
		
	规范部分代码
This commit is contained in:
		| @ -213,7 +213,7 @@ public class WxMpCardServiceImpl implements WxMpCardService { | ||||
|     WxMpCardResult cardResult = WxMpGsonBuilder.INSTANCE.create().fromJson(tmpJsonElement, | ||||
|       new TypeToken<WxMpCardResult>() { | ||||
|       }.getType()); | ||||
|     if (!cardResult.getErrorCode().equals("0")) { | ||||
|     if (!"0".equals(cardResult.getErrorCode())) { | ||||
|       this.log.warn("朋友的券mark失败:{}", cardResult.getErrorMsg()); | ||||
|     } | ||||
|   } | ||||
|  | ||||
| @ -227,6 +227,7 @@ public abstract class WxMpServiceAbstractImpl<H, P> implements WxMpService, Requ | ||||
|   /** | ||||
|    * 向微信端发送请求,在这里执行的策略是当发生access_token过期时才去刷新,然后重新执行请求,而不是全局定时请求 | ||||
|    */ | ||||
|   @Override | ||||
|   public <T, E> T execute(RequestExecutor<T, E> executor, String uri, E data) throws WxErrorException { | ||||
|     int retryTimes = 0; | ||||
|     do { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Binary Wang
					Binary Wang