...
|
...
|
@@ -195,15 +195,12 @@ class Cards extends Backend |
|
|
// }
|
|
|
// }
|
|
|
foreach ($insert as $k => $v) {
|
|
|
// $v['CardsNum'] = substr($v['CardsNum'], 1);
|
|
|
echo '1';
|
|
|
if (strlen($v['mobile']) != 11) {
|
|
|
echo '2';
|
|
|
$this->error('手机号错误' . $v['mobile']);
|
|
|
$this->error(__('手机号错误' . $v['mobile']));
|
|
|
die;
|
|
|
}
|
|
|
if (strlen($v['CardsNum']) != 18) {
|
|
|
$this->error('身份证号错误' . $v['CardsNum']);
|
|
|
$this->error(__('手机号错误' . $v['CardsNum']));
|
|
|
die;
|
|
|
}
|
|
|
|
...
|
...
|
|