🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## **支付设置** ~~~ * 现有支付方式有微信普通支付、微信服务商支付、余额支付 * 微信支付设置方法,登录微信支付商户https://pay.weixin.qq.com/ * 复制商户号,然后设置API秘钥填入后台对应的输入框内,然后下载API证书,打开压缩包,用记事本的方式打开对应的文件,复制粘贴到后台的对话框内,然后保存 * 如果支付失败的,请检查商户号和秘钥填的是否正确 ~~~ ![](https://img.kancloud.cn/3c/db/3cdb60b02fc0f8626529c5d96b8de2b5_1669x598.png) ![](https://img.kancloud.cn/03/b0/03b09d66625f083894b78e788a4e5106_995x458.png) ![](https://img.kancloud.cn/12/d5/12d53a628afc04fcdcc91198a8ecc62d_1072x571.png) ![](https://img.kancloud.cn/2c/00/2c0095f910c216e3b8894a2dfcbbae92_1141x549.png) ![](https://img.kancloud.cn/46/ab/46ab935612485768a1df2f2406820f78_1097x508.png) ![](https://img.kancloud.cn/d7/b4/d7b46e657e51f9dd0ccb1545f4b16001_1265x625.png) ![](https://img.kancloud.cn/4c/7b/4c7b3f4c796d8b188740b64dc9e6eb6f_874x462.png) ~~~ * 服务商支付,登录地址:https://pay.weixin.qq.com/partner/public/home * 先要在公众号上申请个服务商,然后再后台填入公众号appId、商户号、支付秘钥、子商户号、API证书 * 注意点:特约商户APPID配置里面要添加小程序和公众号两个的APPID ~~~ ![](https://img.kancloud.cn/58/a9/58a94910f0ddc4c0af9cb5a5cdb6fedb_1625x787.png) ![](https://img.kancloud.cn/0f/9d/0f9d78cfa9b2fd88593fc3b48bef71bf_1277x702.png) ![](https://img.kancloud.cn/4c/14/4c14d1a150c0bde0a0d1e140ec9efdcc_1450x736.png) ![](https://img.kancloud.cn/e0/3c/e03c5a9475ffebfa76bd6da9b0839f86_1081x431.png) ![](https://img.kancloud.cn/fb/be/fbbe8eb9ac878f77ff36c1faec687215_1435x593.png) ![](https://img.kancloud.cn/74/7b/747b2dce5a4a07f5548fd9c1428d53d7_1267x685.png) ![](https://img.kancloud.cn/da/8a/da8aaa89a20c53ef63d749cd0e8c3a6f_1157x537.png) ![](https://img.kancloud.cn/12/64/1264189fa01969704b938e04a6e54c18_1910x646.png) ![](https://img.kancloud.cn/14/24/14247cd169b14437bd7c5308f163d115_971x361.png) ~~~ * 余额支付,开启即可使用,后台可以充值余额,用户也可以在手机端充值 ~~~