|
@@ -157,7 +157,7 @@ class User extends Backend
|
|
|
if ($params['mobile']) {
|
|
|
$exists = db('user')->where('mobile', $params['mobile'])->where('id', '<>', $row['id'])->find();
|
|
|
if ($exists) {
|
|
|
- $this->error('手机号已经被使用');
|
|
|
+ $this->error('手机号已经被其他人使用');
|
|
|
}
|
|
|
}
|
|
|
//推荐人查询
|
|
@@ -170,7 +170,7 @@ class User extends Backend
|
|
|
$this->error('不存在推荐人');
|
|
|
}
|
|
|
if ($intro_user['intro_uid'] == $row['id']) {
|
|
|
- $this->error('不能填写下级邀请码为推荐人');
|
|
|
+ $this->error('不能填写下级邀请码作为推荐人');
|
|
|
}
|
|
|
}
|
|
|
Db::startTrans();
|