多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# 获取订单微信服务号支付参数 ~~~[api] post:http://thinkagentlarge.data.cuci.cc/store/api.v1.order/mppay.html *order_no=2113808763#订单号 *deviceid=1234567890#授权设备ID <<< 操作成功 { "code": 1, "msg": "获取微信服务号支付参数成功!", "data": { "appId": "wxe335431b79068046", "timeStamp": 1509439923, "nonceStr": "gF0gJJ2B4vatDsTr", "package": "prepay_id=wx201710311652038ece91a6870038778597", "signType": "MD5", "paySign": "EA3CAD4357D2D8133221AF7821551F53" } } <<< 商户异常 { "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 |