...
|
...
|
@@ -345,6 +345,12 @@ class PersonalcenterController extends WeChatBaseController{ |
|
|
|
|
|
$code = session('code');
|
|
|
if($code == $_POST['code']){
|
|
|
//判断是否提交过
|
|
|
$id_num = $_POST['id_num'];
|
|
|
$id_number = Db::name('sale_audit') -> where("id_number = '$id_num' ") -> find();
|
|
|
if(!empty($id_number)){
|
|
|
return 4;
|
|
|
}
|
|
|
$data['name'] = $_POST['name'];
|
|
|
$data['phone'] = $_POST['phone'];
|
|
|
$data['id_number'] = $_POST['id_num'];
|
...
|
...
|
|