ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# App获取微信App支付参数 ~~~[api] post:http://yinshimei.data.cuci.cc/store/app.order/wxpay.html *order_no=2113808763#订单号 *deviceid=1234567890#授权设备ID <<< 操作成功 { "code": 1, "msg": "获取微信APP支付参数成功!", "data": { "appid": "wx56b7a467dd5696d7", "partnerid": "1490729982", "prepayid": "wx20171021103852bc2ed5c17f0320670478", "timestamp": 1508553532, "noncestr": "6OqGsNbpzhJIZOGx", "package": "Sign=WXPay", "sign": "D48DAA7265B6294979E1B2E997590281" } } <<< 商户异常 { "code": 0, "msg": "生成预支付码失败,商户号该产品权限未开通,请前往商户平台>产品中心检查后重试!", "data": [] } <<< 订单异常 { "code": 0, "msg": "该订单号无效,请检查后重试!", "data": [] } <<< 登录异常 { "code": 0, "msg": "还没有登录哦,请登录后再来访问!", "data": [] } <<< 参数异常 { "code": 0, "msg": "接口异常,缺少必要参数!", "data": [] } ~~~ | 接口字段 | 描述 | 对应APP字段 | --- | --- |---| | appid | 平台appid | apiKey | | partnerid | 商户支付mch_id | mchId | | prepayid | 预支付码 | orderId | | timestamp | 当前时间截 | timeStamp | | noncestr | 随机字符串 | nonceStr | | package | 签名类型 | package | | sign | 签名 | sign |