#### 订单支付 - 接口说明 订单结算创建订单 - 请求地址 /auth_api/create_order - 请求参数 参数名称 | 类型 | 描述 | 是否必须 ---|---|---|--- token|string|授权token header中提交|是 addressId|int|收货地址ID|是 bargainId|int|砍价ID 0|否 combinationId|int|拼团ID|否 couponId|int|优惠券id|否 formId|int|生成formid|否 mark|string|备注|否 payType|string|支付方式 微信“weixin”,余额“yue”|是 pinkId|int|拼团ID|否 seckill_id|int|秒杀ID 0|否 useIntegral|bool|ture 用积分 false 不用积分|是 示例 ``` { "addressId": 17, "formId": "the formId is a mock one", "couponId": 0, "payType": "weixin", "useIntegral": false, "bargainId": 0, "combinationId": 0, "pinkId": 0, "seckill_id": 0, "mark": "" } ``` - 请求方式 POST - 响应数据 余额支付返回数据 ``` { "code": 200, "msg": "余额不足999.03", "data": { "status": "PAY_DEFICIENCY", "result": [] }, "count": 0 } ``` 微信支付返回数据 ``` { "code": 200, "msg": "订单创建成功", "data": { "status": "WECHAT_PAY", "result": { "orderId": "wx2019032910400510003", "key": "b3db609baad6fde98980fe66ce3b75bf", "jsConfig": { "appId": "wx3b82801238ca1b57", "nonceStr": "5c9d85861e78f", "package": "prepay_id=wx29104006078008b9289ca1fb1291811394", "signType": "MD5", "paySign": "B02F5F4A4D48F9A3B3DA3D31B271A35C", "timestamp": "1553827206" } } }, "count": 0 } ```