application/api/logic/ActivityInfo.php | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
application/api/logic/ActivityInfo.php
@@ -32,8 +32,8 @@ public function updateRecruitCount($userid) { //查询进行中的招募活动 $nowTime=time(); $actList=Db::query('select id from t_activity_manage where act_status=1 and start_time<=? and end_time>=? limit 1',[$nowTime,$nowTime]); $nowTime= date("Y-m-d H:i:s", time()); $actList=Db::query('select id from t_activity_manage where act_status=1 and start_time<=? and end_time>=? and act_type=0 limit 1',[$nowTime,$nowTime]); if(empty($actList)) {//没有进行中的活动,不用处理 return true;