管理端动态回复
This commit is contained in:
@@ -305,7 +305,7 @@ class UserZone extends Model
|
|||||||
//今天的第一条评论奖励
|
//今天的第一条评论奖励
|
||||||
$first_comment = db::name('user_zone_comment')->where(['user_id' => $uid, 'createtime' => ['between', [strtotime(date('Y-m-d 00:00:00')), strtotime(date('Y-m-d 23:59:59'))]]])->count();
|
$first_comment = db::name('user_zone_comment')->where(['user_id' => $uid, 'createtime' => ['between', [strtotime(date('Y-m-d 00:00:00')), strtotime(date('Y-m-d 23:59:59'))]]])->count();
|
||||||
if ($first_comment ==1) {
|
if ($first_comment ==1) {
|
||||||
model('DailyTasks')->tasks_complete($uid,5);
|
model('api/DailyTasks')->tasks_complete($uid,5);
|
||||||
}
|
}
|
||||||
// }
|
// }
|
||||||
//增加评论数量
|
//增加评论数量
|
||||||
|
|||||||
Reference in New Issue
Block a user