diff --git a/application/index/controller/Index.php b/application/index/controller/Index.php index 05e4f40..6f987e7 100755 --- a/application/index/controller/Index.php +++ b/application/index/controller/Index.php @@ -55,7 +55,7 @@ class Index extends Controller $data['school']=input('school'); $data['sex']=(int)input('sex'); $data['phone']=(int)input('phone'); - $data['sfz']=(int)input('sfz'); + $data['sfz']=input('sfz'); if(!$data['aid']){ $res['code']='FAIL'; diff --git a/application/index/view/index/training.html b/application/index/view/index/training.html index 543eb78..be245a1 100644 --- a/application/index/view/index/training.html +++ b/application/index/view/index/training.html @@ -135,7 +135,7 @@
手机*
-
身份证*
+
@@ -187,9 +187,9 @@ if(!this.addForm.phone){ return false; } - if(!this.addForm.sfz){ - return false; - } +// if(!this.addForm.sfz){ +// return false; +// } //改变背景 this.canSubBg=true @@ -244,10 +244,10 @@ alert('请选择性别') return false; } - if(!this.addForm.sex){ - alert('请填写身份证') - return false; - } +// if(!this.addForm.sfz){ +// alert('请填写身份证') +// return false; +// } this.canSub=true }, submitPay(){