From 9960f4bbc6ec6a0e24c53de5d9b2d54b0cf8517d Mon Sep 17 00:00:00 2001 From: 潘浩文 <phw@bronet.cn> Date: Tue, 23 Oct 2018 15:56:18 +0800 Subject: [PATCH] 1 --- app/portal/controller/PrizeController.php | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/app/portal/controller/PrizeController.php b/app/portal/controller/PrizeController.php index bdd6baa..f0d5060 100644 --- a/app/portal/controller/PrizeController.php +++ b/app/portal/controller/PrizeController.php @@ -198,7 +198,9 @@ class PrizeController extends WeChatBaseController } //兑奖记录ajax public function prizeRecordAjax(){ + $re=$this->checkUser(); $status=$this->request->param('status'); + $where['po.users_id']=$re['id']; $where['po.status']=!empty($status)?$status:0; $data=Db::name('prize_order') ->alias('po') -- libgit2 0.24.0