From bb1cc35a11917c06db4d05b8e0cb2dc9dcadbe3b Mon Sep 17 00:00:00 2001
From: 潘浩文 <phw@bronet.cn>
Date: Mon, 22 Oct 2018 17:53:25 +0800
Subject: [PATCH] 1

---
 app/portal/controller/PrizeController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/portal/controller/PrizeController.php b/app/portal/controller/PrizeController.php
index 5b02c70..c7f16b1 100644
--- a/app/portal/controller/PrizeController.php
+++ b/app/portal/controller/PrizeController.php
@@ -183,7 +183,7 @@ class PrizeController extends WeChatBaseController
     //兑奖记录
     public function prizeRecord(){
         $status=$this->request->param('status');
-        $where['p.status']=!empty($status)?$status:0;
+        $where['po.status']=!empty($status)?$status:0;
         $data=Db::name('prize_order')
             ->alias('po')
             ->join('prize p'.'po.prize_id=p.id')
--
libgit2 0.24.0