Commit 38b4455b authored by clone's avatar clone

bug

parent ee5618a3
......@@ -84,6 +84,8 @@ class RegisterService
} else {
return [ "code" => 101, "data" => "没有找到授权信息" ];
}
//todo 此处有个关系,解绑上一个的id
$this->userModel->unbundlingWx([ "buyer_id" => $buyer_id ]);
}
//判断邀请关系 if邀请人是用户的话则此客户的盘方修改为邀请人的盘方
......@@ -91,8 +93,7 @@ class RegisterService
$agent_id = $this->inviteRelationship($referrer_id, $referrer_source);
}
//todo 此处有个关系,解绑上一个的id
$this->userModel->unbundlingWx([ "buyer_id" => $buyer_id ]);
$userArr = $this->userBin($user_nick, $sex, $id, $buyer_id, $status, $agent_id, $phone, $referrer_id, $referrer_source, $last_login_ip, $other_pic);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment