Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WxMpService类能否开放接口,让外部可以设置具体的service? #318

Closed
guqun opened this issue Aug 21, 2017 · 4 comments
Closed

Comments

@guqun
Copy link

guqun commented Aug 21, 2017

如题,目前只有get,没有set,有了set接口后便于sdk没有发布的情况下,开发者可以实现自己的service,并set到WxMpService。

@binarywang
Copy link
Member

你可以使用get或post方法,这个在wiki里有说明

@guqun
Copy link
Author

guqun commented Aug 21, 2017

看了wiki,如果有set方法覆盖原来的service,这样子在使用时候,可以跟你的sdk没有什么区别。也便于代码维护。

@binarywang
Copy link
Member

那我明白你的意思了,可以加上

@binarywang
Copy link
Member

测试版本2.7.9.BETA已添加

comeonc added a commit to comeonc/weixin-java-tools that referenced this issue Oct 9, 2018
* 'master' of github.com:Wechat-Group/weixin-java-tools: (85 commits)
  Update readme.md
  Update readme.md
  修改版本号为正式版本2.8.0
  Wechat-Group#320 增加“拉取订单评价数据“接口方法
  Wechat-Group#319 增加“退款结果通知“处理方法,并优化调整微信支付相关代码
  Wechat-Group#322 为me.chanjar.weixin.mp.bean下的bean类实现Serializable接口,并增加serialVersionUID
  Wechat-Group#324: 修复分布式刷新access_token冲突问题
  Wechat-Group#324: 修复分布式刷新access_token冲突问题
  微信支付增加获取微信的请求和响应数据的方法getWxApiData(),方便使用者获取使用该数据
  微信支付优化部分代码,方便扩展
  微信支付接口抽取部分常量
  发布临时测试版本2.7.9.BETA
  Wechat-Group#307 微信支付模块中增加http proxy设置的支持
  Wechat-Group#307 微信支付模块中增加http proxy设置的支持
  Wechat-Group#312 添加 删除群发 的接口
  Wechat-Group#318 WxMpService和 WxCpService两个接口提供对各个具体service的setter方法,以便于扩展使用
  Wechat-Group#317 修复小程序请求二维码时对错误类型检查(text/plain 改为 app/json)
  Wechat-Group#315 修改messageSend方法,自动从wxCpConfigStorage获取agentId
  转移群发消息相关接口到单独接口及其实现类中
  修复错误的javadoc
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants