## 订单列表
~~~[api]
get:/api/v2/orderlist/{userid}
userid#1 用户id
state#2 状态(不传为全部0代付款/1待使用/2待评价/3已完成/4撤单/5退款状态/7待确认)
<<<
success
{
"code": 0,
"data": [{
"orderid":2,
"goodimg": "http://tapi.timeforest-w.com/static/img/photo0.jpg",
"goodname": "车前村民宿1",
"leave_time": "2018-01-02 00:00:00",
"roomnum": 1,
"roomtype": "好房型哈哈哈2",
"use_time": "2018-01-01 00:00:00",
"ordermoney": 299
}],
"msg": "success"
}
<<<
error
success
{
"code": 1,
"msg": "invalid param",
}