正在显示
2 个修改的文件
包含
14 行增加
和
14 行删除
@@ -88,19 +88,19 @@ | @@ -88,19 +88,19 @@ | ||
88 | </p> | 88 | </p> |
89 | </li> | 89 | </li> |
90 | <!-- Menu Body --> | 90 | <!-- Menu Body --> |
91 | - <li class="user-body"> | ||
92 | - <div class="row"> | ||
93 | - <div class="col-xs-4 text-center"> | ||
94 | - <a href="https://www.fastadmin.net" target="_blank">{:__('FastAdmin')}</a> | ||
95 | - </div> | ||
96 | - <div class="col-xs-4 text-center"> | ||
97 | - <a href="https://forum.fastadmin.net" target="_blank">{:__('Forum')}</a> | ||
98 | - </div> | ||
99 | - <div class="col-xs-4 text-center"> | ||
100 | - <a href="https://doc.fastadmin.net" target="_blank">{:__('Docs')}</a> | ||
101 | - </div> | ||
102 | - </div> | ||
103 | - </li> | 91 | + <!--<li class="user-body">--> |
92 | + <!--<div class="row">--> | ||
93 | + <!--<div class="col-xs-4 text-center">--> | ||
94 | + <!--<a href="https://www.fastadmin.net" target="_blank">{:__('FastAdmin')}</a>--> | ||
95 | + <!--</div>--> | ||
96 | + <!--<div class="col-xs-4 text-center">--> | ||
97 | + <!--<a href="https://forum.fastadmin.net" target="_blank">{:__('Forum')}</a>--> | ||
98 | + <!--</div>--> | ||
99 | + <!--<div class="col-xs-4 text-center">--> | ||
100 | + <!--<a href="https://doc.fastadmin.net" target="_blank">{:__('Docs')}</a>--> | ||
101 | + <!--</div>--> | ||
102 | + <!--</div>--> | ||
103 | + <!--</li>--> | ||
104 | <!-- Menu Footer--> | 104 | <!-- Menu Footer--> |
105 | <li class="user-footer"> | 105 | <li class="user-footer"> |
106 | <div class="pull-left"> | 106 | <div class="pull-left"> |
@@ -68,7 +68,7 @@ class Coupons extends Api | @@ -68,7 +68,7 @@ class Coupons extends Api | ||
68 | 68 | ||
69 | $flag = config('verify.flag'); | 69 | $flag = config('verify.flag'); |
70 | $current_time = time(); | 70 | $current_time = time(); |
71 | - $where = ['is_new'=>$flag[0],'start_time'=>['<',$current_time],'end_time'=>['>',$current_time]]; | 71 | + $where = ['is_new'=>$flag[0],'gift'=>$flag[0],'start_time'=>['<',$current_time],'end_time'=>['>',$current_time]]; |
72 | //查询已经领取过 | 72 | //查询已经领取过 |
73 | $receive = Common::selectWhereData('rcoupon',['uid'=>$this->uid],'id,c_id'); | 73 | $receive = Common::selectWhereData('rcoupon',['uid'=>$this->uid],'id,c_id'); |
74 | $receive_s = array_column($receive,'c_id'); | 74 | $receive_s = array_column($receive,'c_id'); |
-
请 注册 或 登录 后发表评论