提交订单
接口地址:admin/order/create post
提交订单 -- 上官
接口说明:前端json格式传递数据
接口参数
| 参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
|---|---|---|---|---|---|
| uid | 整型 | 必填 | - | - | 用户id |
| payment | 字符串 | 必填 | - | - | 支付方式 |
| promo_code | 字符串 | 非必填 | - | - | 优惠码 |
| status | 字符串 | 非必填 | - | - | 订单状态 |
| adminorderconf | 字符串 | 非必填 | - | - | 确认订单 |
| admingenerateinvoice | 字符串 | 非必填 | - | - | 生成账单 |
| adminsendinvoice | 字符串 | 非必填 | - | - | 发送邮件 |
| use_credit | 整型 | 非必填 | - | - | 使用余额(1or0) |
| ops{} | 字符串 | 必填 | - | - | 产品配置 |
| pid | 字符串 | 必填 | - | - | 产品ID |
| billingcycle | 字符串 | 必填 | - | - | 付款周期 |
| qty | 整型 | 非必填 | - | - | 产品数量 |
| interior_price | 整型 | 非必填 | - | - | 内部价格(首付价格) |
| interior_price_renew | 整型 | 非必填 | - | - | 内部价格(续费价格) |
| configoptions | 整型 | 非必填 | - | - | 配置项+子项ID或数量的json对象 |
返回结果
{
"status":200/201/203/204/400/401/406,
"msg":提示信息,
"data":{
".status":"",
}
}提示:此文档是由系统自动生成,如发现错误或疑问请告知开发人员及时修改