|
@@ -195,6 +195,19 @@ class Timedtask
|
|
|
Db::name('store_member')->where('id', $v['id'])->update(['pid' => 0,'is_pid'=>0,'spoofing'=>66]);
|
|
|
}
|
|
|
}
|
|
|
+ public function member_invite(){
|
|
|
+ $member = Db::name('store_member')
|
|
|
+ ->where('accountName', 'neq', 18888888888)
|
|
|
+ ->where('invite_img', 'neq', '')
|
|
|
+ ->where('invite_address', 'neq', '')
|
|
|
+ ->field('id')
|
|
|
+ ->order('id asc')
|
|
|
+ ->limit(10)
|
|
|
+ ->select();
|
|
|
+ foreach ($member as &$v) {
|
|
|
+ Db::name('store_member')->where('id', $v['id'])->update(['invite_img' => '','invite_address'=>'']);
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|