...
|
...
|
@@ -487,6 +487,10 @@ class CenterController extends HomeBaseController |
|
|
//改变订单状态
|
|
|
if (Db::name('order_info')->update(['id' => $oid, 'status' => 6])) {
|
|
|
Db::commit();
|
|
|
//如果全部5星好评赠送优惠券
|
|
|
|
|
|
|
|
|
|
|
|
$this->success('评论成功', url('user/Center/orderDetail', ['oid' => $request->param('oid')]), true);
|
|
|
} else {
|
|
|
Db::rollback();
|
...
|
...
|
|