123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- return [
- //公众号
- 'offiAccount' => [
- 'app_id' => 'wx23d85548cc11d091',
- 'secret' => '523e9028ee040e56b4a0b0d297cb657a',
- 'redirect_url' => 'https://yxy.glut.cc/index.php/api/xmwechat.Offiaccount/oauth',
- 'offi_name' => 'yxy测试',
- 'original_id' => '',
- 'offi_qr_code' => '',
- 'server_url' => request()->domain() . '/index.php/api/xmwechat.Offiaccount/messageServe',
- 'server_token' => '20201012',
- 'encoding_aes_key' => '',
- 'message_encryption_method' => 'plaintext',
- 'business_domain' => request()->domain(),
- 'js_security_domain' => request()->domain(),
- 'website_auth_domain' => request()->domain(),
- ],
- //小程序
- 'miniProgram' => [
- 'app_id' => 'wx58633590ab59b7a1',
- 'secret' => '1d180037344bf5057eb75a0d94032253',
- 'name' => '仪享云',
- 'original_id' => '',
- 'qr_code' => '/storage/default/20240208/gh_2f3b735b9ce3988b16224dce7deb13acf204cf2f6ac15f052f4e.jpg',
- 'request_domain' => request()->domain(),
- 'socket_domain' => 'wss://' . str_replace(['http://', 'https://'], '', request()->domain()),
- 'upload_file_domain' => request()->domain(),
- 'download_file_domain' => request()->domain(),
- 'udp_domain' => 'udp://' . str_replace(['http://', 'https://'], '', request()->domain()),
- 'tcp_domain' => 'tcp://' . str_replace(['http://', 'https://'], '', request()->domain()),
- 'server_url' => request()->domain() . '/index.php/api/xmwechat.Miniprogram/messageServe',
- 'server_token' => 'TOKEN',
- 'encoding_aes_key' => '',
- 'message_encryption_method' => 'plaintext',
- ],
- //微信支付(v3)
- 'payment' => [
- 'mch_id' => '',
- 'secret_key' => 'secretkey',
- 'notify_url' => 'http://localhost:8000/index.php/api/xmwechat.Payment/notify',
- 'certificate' => 'app/cert/apiclient_cert.pem',
- 'private_key' => 'app/cert/apiclient_key.pem',
- ],
- // 合作伙伴(服务商)模式支付(v3)
- 'partnerPayment' => [
- 'sp_mchid' => '',
- 'sp_appid' => '',
- 'sub_mchid' => '',
- 'secret_key' => 'partnersecretkey',
- 'notify_url' => 'http://localhost:8000/index.php/api/xmwechat.PartnerPayment/payNotify',
- 'refunds_notify_url' => 'http://localhost:8000/index.php/api/xmwechat.PartnerPayment/refundsNotify',
- 'certificate' => 'app/cert/partner/apiclient_cert.pem',
- 'private_key' => 'app/cert/partner/apiclient_cert.pem',
- ],
- ];
|