代理端的客户注册提示
This commit is contained in:
@@ -155,7 +155,7 @@ class Index
|
||||
$has_user = $user_model->isExit("LoginCode='".$data['LoginCode']."' or Phone='".$data['Phone']."' or TaoBao='".$data['Phone']."'");
|
||||
if ($has_user){
|
||||
$info = [
|
||||
'Code' => 10007,
|
||||
'Code' => 20000,
|
||||
'Data' => '',
|
||||
'Message' => '该账号或者手机号被注册了',
|
||||
];
|
||||
@@ -163,6 +163,17 @@ class Index
|
||||
die;
|
||||
}
|
||||
|
||||
$has_user2 = $user_model->isExit("id_code='".$data['id_code']."'");
|
||||
if ($has_user2){
|
||||
$info = [
|
||||
'Code' => 30000,
|
||||
'Data' => '',
|
||||
'Message' => '该身份已经进行认证,无法再次进行认证!',
|
||||
];
|
||||
echo json_encode($info);
|
||||
die;
|
||||
}
|
||||
|
||||
if ($user_model->add($data)) {
|
||||
|
||||
echo json_encode($this->aliverify([
|
||||
|
||||
Reference in New Issue
Block a user