作者 何书鹏

评价时间

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