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