接口名称 获取订单     签名
地址 https://api.cnlive.com/open/api2/pom/getOrder
method post
返回数据 json

/* Title: 2.3 获取用户订单信息 Sort: 5 */

URL: http://console.open.cnlive.com/open/api/pom/getOrder


请求方式: POST


返回格式: JSON


请求参数说明:

参数 必选 类型 说明
sp_id true String 服务提供商ID
sid true Integer 用户ID
srvOrderId true String 订单id
friend true Boolean 订单类型 true:送朋友 false:自己用
ts true Integer 时间戳
plat true String 平台类型
sign true String 签名

返回格式说明:

{
 "id": "",
 "prdId": "83a9c421-5b6e-4fe1-a77e-6831e5785e63",
 "sid": "",
 "uId": "145680",
 "srvOrderId": "0038363_20141204150628378_001",
 "promCode": "",
 "createTime": "2014-12-04 16:47:00",
 "effectiveDate": "2014-11-16 10:42:14",
 "expiryDate": "2014-12-31 10:42:14",
 "status": "0",
 "buyAmount": "69",
 "remainAmount": "0",
 "title": "weng",
 "bigPoster": "http://www.cnlive.com",
 "smallPoster": "http://www.cnlive.com",
 "homePage": "http://www.cnlive.com",
 "currency": "3",
 "rmb": "1",
 "originalRmb": "2",
 "cnCoin": "10",
 "originalCnCoin": "20",
 "type": "0"
}

返回参数说明:

参数 参数说明
id 订单ID(送朋友 无此属性)
prdId 商品ID
sid 用户ID(送朋友 无此属性)
uId 支付用户ID
srvOrderId 订单号
promCode 兑换码(送朋友和为自己买 无此属性)
effectiveDate 生效时间
expiryDate 失效时间
createTime 订购时间
buyAmount 购买数量
remainAmount 剩余数量
title 商品名
bigPoster 大海报
bigPoster 大海报
smallPoster 小海报
homePage 商品主页
status 订单状态 0有效 1失效
type 订单类型(仅送朋友有此属性:0送朋友 1土豪撒礼)