|
@@ -63,6 +63,10 @@ class User extends Api
|
|
$this->error('该手机号已经注册过了');
|
|
$this->error('该手机号已经注册过了');
|
|
} else {
|
|
} else {
|
|
$extend = [];
|
|
$extend = [];
|
|
|
|
+
|
|
|
|
+ if($invite_no == 'undefined'){$invite_no = '';}
|
|
|
|
+ if($intro_no == 'undefined'){$intro_no = '';}
|
|
|
|
+
|
|
if(!empty($invite_no)){
|
|
if(!empty($invite_no)){
|
|
$inviteUserInfo = \app\common\model\User::where(["introcode" => $invite_no])->find();
|
|
$inviteUserInfo = \app\common\model\User::where(["introcode" => $invite_no])->find();
|
|
if (!$inviteUserInfo) {
|
|
if (!$inviteUserInfo) {
|