fix: 代码修改
This commit is contained in:
parent
13f2509383
commit
cdc71c544a
@ -68,8 +68,7 @@ class Task3
|
|||||||
$parent->vip_id += 1;
|
$parent->vip_id += 1;
|
||||||
//今天邀请人数加1
|
//今天邀请人数加1
|
||||||
$parent->today_num += 1;
|
$parent->today_num += 1;
|
||||||
$existingPhone = ActiveUsers::where('user_id', $parent->id)
|
$existingPhone = ActiveUsers::where('phone', $value->phone)
|
||||||
->where('phone', $value->phone)
|
|
||||||
->first();
|
->first();
|
||||||
//不存在,代表首次邀请
|
//不存在,代表首次邀请
|
||||||
if (!$existingPhone) {
|
if (!$existingPhone) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user