🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
~~~[api] post:/pad/payOrder *uid#学生uid *puid#家长uid *price#价格 version=P2#学习机版本型号 *pay_type#wx微信app alipay支付宝app wx微信app client_ip=127.0.0.1#客户端IP地址 origin=adnfoid#来源 android/ios order_no#订单号,在订单列表中支付时需要传 <<< success { "ret": 0, "msg": "ok", "data": { "id": "ch_Kmfnb108OWbTyjnzDKPOuz5S", "object": "charge", "created": 1515142394, "livemode": false, "paid": false, "refunded": false, "reversed": false, "app": "app_0qv9iTm5qbr5vT4K", "channel": "wx", "order_no": "1515142394774096899", "client_ip": "127.0.0.1", "amount": 198000, "amount_settle": 198000, "currency": "cny", "subject": "12xue学习机购买", "body": "12xue学习机mini2购买", "extra": { "limit_pay": "no_credit" }, "time_paid": null, "time_expire": "1515145995", "time_settle": null, "transaction_no": null, "refunds": { "object": "list", "url": "/v1/charges/ch_Kmfnb108OWbTyjnzDKPOuz5S/refunds", "has_more": false, "data": [] }, "amount_refunded": 0, "failure_code": null, "failure_msg": null, "metadata": {}, "credential": { "object": "credential", "wx": { "appId": "wxoguz1gylantovl4u", "partnerId": "5318834429", "prepayId": "1101000000180105jvdahcf5sgy10ajf", "nonceStr": "cdec0e1d16070ff643dae8ed36bd73fb", "timeStamp": 1515142394, "packageValue": "Sign=WXPay", "sign": "9846FD695EBED7A86BC30E69F4D33153" } }, "description": null } } <<< error { "ret": -1, "msg": "参数错误" } ~~~