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

对微信服务商的支持 #82

Merged
merged 3 commits into from Mar 6, 2018

Conversation

@krissss
Copy link
Contributor

commented Feb 26, 2018

麻烦看下对服务商的支持采用这种形式可以吗(基本都改了,但暂未测试)?

$config = [
    'appid' => 'wxb3fxxxxxxxxxxx', // APP APPID
    'app_id' => 'wxb3fxxxxxxxxxxx', // 公众号 APPID
    'miniapp_id' => 'wxb3fxxxxxxxxxxx', // 小程序 APPID
    'sub_appid' => 'wxb3fxxxxxxxxxxx', // 子商户 APP APPID
    'sub_app_id' => 'wxb3fxxxxxxxxxxx', // 子商户 公众号 APPID
    'sub_miniapp_id' => 'wxb3fxxxxxxxxxxx', // 子商户 小程序 APPID
    'mch_id' => '146xxxxxx', // 商户号
    'sub_mch_id' => '146xxxxxx', // 子商户商户号
    'key' => '4e538260xxxxxxxxxxxxxxxxxxxxxx', // 主商户 key
    'notify_url' => 'http://yanda.net.cn/notify.php',
    'cert_client' => './cert/apiclient_cert.pem', // optional,退款等情况时用到
    'cert_key' => './cert/apiclient_key.pem',// optional,退款等情况时用到
    'log' => [ // optional
        'file' => './logs/wechat.log',
        'level' => 'debug'
    ],
    'mode' => 'service',
]

krissss added some commits Feb 26, 2018

@krissss

This comment has been minimized.

Copy link
Contributor Author

commented Feb 28, 2018

已经测试过

@yansongda yansongda merged commit ac303d9 into yansongda:master Mar 6, 2018

2 checks passed

Scrutinizer 2 updated code elements
Details
continuous-integration/styleci/pr The StyleCI analysis has passed
Details
@yansongda

This comment has been minimized.

Copy link
Owner

commented Mar 6, 2018

感谢支持!

目前已发布一个 beta 版本针对本 PR:v2.1.0-beta

欢迎体验测试微信服务商的支持!

@yansongda

This comment has been minimized.

Copy link
Owner

commented Mar 6, 2018

对了,麻烦方便的时候完善下文档

感谢

@krissss krissss referenced this pull request Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.