作者 lihan
1 个管道 的构建 通过 耗费 0 秒

项目细节完善

... ... @@ -489,7 +489,7 @@ class CenterController extends HomeBaseController
Db::commit();
//如果全部5星好评赠送优惠券
if($data['rank_synthetical'] == 5 && $data['rank_service'] == 5 && $data['rank_journey'] == 5) {
give_as_a_present(session('user.id'), '五星好评优惠券');
give_as_a_present(session('user.id'), '五星好评赠送');
}
$this->success('评论成功', url('user/Center/orderDetail', ['oid' => $request->param('oid')]), true);
} else {
... ...