~~~[api]
get:http://entalkj.jiumiwm.com:8763/order/toShowOrderList
*appId# appId
*token# token
*userId=10#用户主键
*orderStatus=(1未开始 2 进行中 3 待评价 15 已结束 7投诉/退款 )#订单状态
pageNum=1#页数
pageSize=9#每页条数
<<<
success
{
"code": "200",
"entity": {
"endRow": 9,
"pageNum": 1,
"pageSize": 9,
"result": [
{
"appointmentTime": 1513570546245,
"area": "",
"coachId": 104,
"coachName": "奥斯特洛夫斯基 赵四",
"commission": 0,
"communicationMode": "即时聊天",
"communicationModeInteger": 16,
"createTimeString": "1513570546245",
"duration": 100,
"leftTime": 0,
"onLineStatus": 0,
"orderId": 45033,
"orderType": 0,
"payFee": 0,
"penalty": 0,
"phoneNumber": "13167357450",
"photoUrl": "http://entalkimg.jiumiwm.com/entalk_2017-12-13ohwokvpu4wegr.gif",
"realFee": 50,
"reconnection": 0,
"sex": "1",
"status": "1",
"studentArea": "",
"studentName": "",
"studentPhotoUrl": "",
"studentSex": "",
"thawFee": 50,
"unReadLetter": 0,
"unitPriceString": "0.50 /条",
"useDuration": 0,
"userId": 80
"elsePayFee":0
}
],
"startRow": 0,
"totalCount": 1,
"totalPages": 1
},
"message": "请求成功"
}
<<<
参数描述
private Integer orderId;//订单主键
private Integer coachId;//教练主键
private Integer userId;//用户主键
private String photoUrl;//教练的头像所在地址
private String coachName;//教练名称
private String communicationMode;//沟通方式
private Integer communicationModeInteger;//沟通方式
private String createTimeString;//订单创建时间
private Long leftTime;//剩余时间
private String sex;//性别
private Long appointmentTime;//预约时间
private String unitPriceString;//单价
private BigDecimal realFee;//冻结金额 即总酬金
private Integer duration;//时长
private BigDecimal payFee;//实付酬金
private BigDecimal thawFee;//解冻金额
private BigDecimal penalty;//违约金
private Integer useDuration;//已使用的时长|已使用的条数
private String status;//订单具体状态
private String area;//教练所在地区
private String engArea;//英文地区
private Integer unReadLetter;//私信未读条数
追加参数
elsePayFee : 实际支付的额外酬金
<<<
error
{
"code": "4000",
"message": "操作失败"
}
~~~