|
@@ -17,6 +17,7 @@ use app\common\model\SysConfig;
|
|
|
use app\common\service\Jdpay;
|
|
|
use app\common\service\SmsSend;
|
|
|
use app\common\service\TransferCheck;
|
|
|
+use app\service\id\IdVerify;
|
|
|
use think\App;
|
|
|
use think\Db;
|
|
|
use think\db\Query;
|
|
@@ -255,6 +256,7 @@ class MobileController extends UserApi
|
|
|
$this->_validate([
|
|
|
'id_no|身份证'=>['require','regex'=>'/^[1-9]\d{5}(18|19|20|(3\d))\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/'],
|
|
|
]);
|
|
|
+ IdVerify::instance()->check($data['name'],$data['id_no']);
|
|
|
}
|
|
|
|
|
|
Db::startTrans();
|