weixin-popular icon indicating copy to clipboard operation
weixin-popular copied to clipboard

微信SDK JAVA (公众平台、开放平台、 商户平台、 服务商平台)

Results 35 weixin-popular issues
Sort by recently updated
recently updated
newest added

新版的代金券API接口变化很大,希望能加入以下api: 1、发放代金券API https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons 2、条件查询批次列表API https://api.mch.weixin.qq.com/v3/marketing/favor/stocks 3、查询批次详情API https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stockid} 4、设置消息通知API https://api.mch.weixin.qq.com/v3/marketing/favor/callbacks 5、根据核销商户查用户的券API https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons 6、查询代金券详情API https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons/{coupon_id} 官方文档:https://pay.weixin.qq.com/wiki/doc/apiv3/convention.php?chapter=13_1&index=1

项目启动的时候,调用一次 TokenManager.init()方法获取 accessToken。 如果第一次执行调用失败,TokenManager.getDefaultToken() 方法就无法获取到 token 了! 是需要等到 schedule 再次执行的时候,才能去 weixin 拿 token吗? 有没有提供方法,在业务操作的时候,刷新 tokenMap 中的数据?

`public static WxaUserPhoneInfo decryptUserPhoneInfo(String session_key, String encryptedData, String iv) { try { Cipher cipher = Cipher.getInstance("AES/CBC/NoPadding"); Key sKeySpec = new SecretKeySpec(Base64.decodeBase64(session_key), "AES"); cipher.init(Cipher.DECRYPT_MODE, sKeySpec, new IvParameterSpec(Base64.decodeBase64(iv))); byte[] resultByte = cipher.doFinal(Base64.decodeBase64(encryptedData));...

update fastjson version

ImageIO.read(new ByteArrayInputStream(bytes))返回null,原因是图片转换格式问题,建议直接返回byte[]

比如小程序的,二维码的 https://github.com/liyiorg/weixin-popular/wiki/QrcodeAPI

使用mongoTemplate时,会报错 MongoPersistentEntityIndexResolver$CyclicPropertyReferenceException: Found cycle for field 'funcscope_category' in type 'FuncInfo' 期待作者不要使用静态类引用。 或把引自身的类改为 List