作者 何书鹏

评价时间

@@ -845,7 +845,7 @@ class Order extends Api @@ -845,7 +845,7 @@ class Order extends Api
845 } 845 }
846 846
847 $ordermodel = new \app\api\model\Order(); 847 $ordermodel = new \app\api\model\Order();
848 - $ordermodel->whereIn('id',$orderids)->update(['comment_status'=>'20']); 848 + $ordermodel->whereIn('id',$orderids)->update(['comment_status'=>'20','comment_time'=>time()]);
849 $commentmodel = new GoodsComment(); 849 $commentmodel = new GoodsComment();
850 $commentmodel->isUpdate(false)->saveAll($params); 850 $commentmodel->isUpdate(false)->saveAll($params);
851 $this->success('评价成功'); 851 $this->success('评价成功');