### WeEngine Android、IOS OrderList api
* status==0 取消訂單
* status==0 && paytype!=3 支付訂單
* status==3 || status==-1 刪除訂單
* status==3 && iscomment==1 追加評價
* status==3 && iscomment==0 評價
* status>1 && addressid>0 查看物流
* status==2 確認收貨
* canrefund && status==1 申請退款
* canrefund && status!=1 申請售后
~~~[api]
POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.order.get_list
string:pagesize=10#每頁數量
string:page=1#頁數
string:status=默認值#訂單狀態 -1已 0待付款 1待發貨 2待收貨 3已完成 4退款申請 5已刪除 null全部不包括已刪除
<<<
success
{
"status": 1,
"result": {
"list": [
{
"id": "", //訂單ID
"ordersn": "",//訂單號
"price": "", //實付款金額
"userdeleted": "0", //用戶刪除 0否 1是
"isparent": "0", //是父訂單 0否 1是
"refundstate": "0", //退款狀態 0 沒有退款 1 退款 2 換貨
"paytype": "1", //支付類型 1為余額支付 2在線支付 3 貨到付款 11 后臺付款 21 微信支付 22 支付寶支付 23 銀聯支付
"status": "", //狀態 -1取消狀態(交易關閉),0普通狀態(沒付款: 待付款 ; 付了款: 待發貨),1 買家已付款(待發貨),2 賣家已發貨(待收貨),3 成功(可評價: 等待評價 ; 不可評價 : 交易完成)4 退款申請
"addressid": "", //地址ID
"refundid": "0", //退款申請ID 退款申請處理后清0
"isverify": "0", //核銷 0否 1是
"dispatchtype": "0", //0 商家配送 1 自提
"verifytype": "0", //忽略 線下核銷類型 0 按訂單核銷 1 按次核銷 2 按消費碼核銷
"verifyinfo": "a:0:{}", //忽略 線下核銷信息 如核銷時間,核銷人等
"verifycode": "", //忽略 核銷碼
"iscomment": "0", //評價狀態 status 3,4 后允許評價 0 可評價 1 可追加評價 2 已評價
"goods": [
{
"shopname": "",
"goods": [
{
"goodsid": "", //商品ID
"total": "", //購買數量
"title": "", //商品名稱
"thumb": "", //商品縮略圖
"price": "", //商品價格
"optiontitle": "",
"optionid": "0",
"specs": null,
"merchid": "0"
}
]
}
],
"statusstr": "待發貨",
"statuscss": "text-warning",
"canverify": false,
"cancancel": false,
"canpay": false,
"candelete": false,
"cancomment": false,
"cancomment2": false,
"cancomplete": false,
"cancancelrefund": false,
"candelete2": false,
"canrestore": false,
"hasexpress": false
},
{
......
}
],
"pagesize": , //每頁數量
"total": "", //數量
"page": , //頁數
"url": "127.0.0.1/./"
}
}
<<<
error
{
"status": 0,
"result": {
"message": "錯誤信息"
}
}
~~~