This commit is contained in:
“wanyongkang”
2022-05-12 17:06:47 +08:00
parent 8f4542dba9
commit f116d1a127

View File

@@ -154,6 +154,13 @@ class Index
$data = [];
if($info){
$user_data['is_verify'] = 1;
if ($user_one_info['is_verify'] == 1) {
$data = [
'Code'=>10000
];
echo json_encode($data);
die;
}
if($user->updateOne(['Id'=>$user_one_info['Id']],$user_data)){
$data = [
'Code'=>10000