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

赠送积分模块

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