|
|
|
@ -956,12 +956,12 @@ class PromoteCompanyController extends ThinkController
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(!empty(I("contact_phone")) && !checkPhone(I('contact_phone'))) {
|
|
|
|
|
$this->error('联系电话格式不正确');
|
|
|
|
|
}
|
|
|
|
|
if(!empty(I('reg_phone')) && !checkPhone(I('reg_phone'))) {
|
|
|
|
|
$this->error('注册电话格式不正确');
|
|
|
|
|
}
|
|
|
|
|
// if(!empty(I("contact_phone")) && !checkPhone(I('contact_phone'))) {
|
|
|
|
|
// $this->error('联系电话格式不正确');
|
|
|
|
|
// }
|
|
|
|
|
// if(!empty(I('reg_phone')) && !checkPhone(I('reg_phone'))) {
|
|
|
|
|
// $this->error('注册电话格式不正确');
|
|
|
|
|
// }
|
|
|
|
|
if(!empty(I('taxation_rate')) && I('taxation_rate') > 0) {
|
|
|
|
|
if(!checkNumber(I('taxation_rate'))){
|
|
|
|
|
$this->error('税费费率格式错误');
|
|
|
|
|