作者 何书鹏

订单列表评论状态

@@ -49,6 +49,7 @@ class Order extends Api @@ -49,6 +49,7 @@ class Order extends Api
49 "freight_status": "10", 10未发货20已发货 49 "freight_status": "10", 10未发货20已发货
50 "receipt_status": "10", 10未收货20已收货 50 "receipt_status": "10", 10未收货20已收货
51 "order_status": "10", 10进行中20已取消30已完成 51 "order_status": "10", 10进行中20已取消30已完成
  52 + "comment_status": "10", 评价状态:10=未评价20=已评价
52 "total_sum": 0, 商品总数量 53 "total_sum": 0, 商品总数量
53 "goods": [{ 54 "goods": [{
54 "goods_id": 1, 商品ID 55 "goods_id": 1, 商品ID
@@ -131,7 +132,7 @@ class Order extends Api @@ -131,7 +132,7 @@ class Order extends Api
131 $item->visible([ 132 $item->visible([
132 'goods','total_sum','order_no','id','pay_price', 133 'goods','total_sum','order_no','id','pay_price',
133 'discount_price','pay_status','order_status','receipt_status', 134 'discount_price','pay_status','order_status','receipt_status',
134 - 'freight_status' 135 + 'freight_status','comment_status'
135 ]); 136 ]);
136 }); 137 });
137 $this->success('订单列表',$list); 138 $this->success('订单列表',$list);