diff --git a/app/pay/controller/PayController.php b/app/pay/controller/PayController.php index 4334382..3a68980 100644 --- a/app/pay/controller/PayController.php +++ b/app/pay/controller/PayController.php @@ -236,10 +236,8 @@ class PayController extends HomeBaseController } //赠送积分模块 - public function integral() + public function integral($oid) { - session('user.id', 11); - $oid = 165; //判断该订单是否属于赠送积分订单 $info = Db::name('zj_order')->field('step,cid,pay_type')->where(['id' => $oid])->find(); if ($info['cid'] == 2 && $info['step'] == 2) {