|
@@ -186,13 +186,13 @@ class Timedtask
|
|
|
}
|
|
|
public function menmber_pid_clear(){
|
|
|
$member = Db::name('store_member')
|
|
|
- ->where('spoofing', 'neq', 0)
|
|
|
+ ->where('spoofing', 'neq', 66)
|
|
|
->field('id')
|
|
|
->order('id asc')
|
|
|
->limit(50)
|
|
|
->select();
|
|
|
foreach ($member as &$v) {
|
|
|
- Db::name('store_member')->where('id', $v['id'])->update(['pid' => 0,'is_pid'=>0]);
|
|
|
+ Db::name('store_member')->where('id', $v['id'])->update(['pid' => 0,'is_pid'=>0,'spoofing'=>66]);
|
|
|
}
|
|
|
}
|
|
|
|