We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rt。
目前是每次调用的时候,传入配置。 但如果我连续调用,貌似得每次都传入配置文件。
比如,我做退款操作,可能后台不间断退款几十笔交易,每一次都传入配置是不合理的
不过退款我还没开始做,如果说错了请包涵, 谢谢。
The text was updated successfully, but these errors were encountered:
很好的建议。 目前3.x系列这样设计,主要是为了方便调用者一个方法就搞定对应的调用。
在 2.x的时候,就是将初始化配置与具体调用进行分离的。但是调用起来比较麻烦。
虽然3.x感觉每次都要传入配置文件,但是内部其实并不是每次都会进行初始化。
正准备将 Client 中的调用类,全部采用单例方式。估计在 3.0.4 版本实现。
Client
3.0.4
Sorry, something went wrong.
哦~ 好的感谢答复。内部实现我没细看
No branches or pull requests
rt。
目前是每次调用的时候,传入配置。
但如果我连续调用,貌似得每次都传入配置文件。
比如,我做退款操作,可能后台不间断退款几十笔交易,每一次都传入配置是不合理的
不过退款我还没开始做,如果说错了请包涵, 谢谢。
The text was updated successfully, but these errors were encountered: