|
@@ -151,18 +151,19 @@ class Sellerjoinin extends BaseMember
|
|
|
$res = $this->getCompanyInfo($param['business_licence_number_electronic']);
|
|
|
if ($res['code'] == 200) {
|
|
|
$info = $res['data'];
|
|
|
+// dd($info);
|
|
|
$info['capital'] = cn2num($info['capital'])/10000;
|
|
|
if ($info['capital'] != $param['company_registered_capital']) {
|
|
|
$this->error('填写注册资金与营业执照不匹配,请仔细核对后提交');
|
|
|
}
|
|
|
if ($info['company'] != $param['company_name']) {
|
|
|
- $this->error('填写营业执照号与营业执照不匹配,请仔细核对后提交');
|
|
|
- }
|
|
|
- if ($info['reg_num'] != $param['business_licence_number']) {
|
|
|
$this->error('填写企业名称与营业执照不匹配,请仔细核对后提交');
|
|
|
}
|
|
|
+ if ($info['reg_num'] != strtoupper($param['business_licence_number'])) {
|
|
|
+ $this->error('填写营业执照号与营业执照不匹配,请仔细核对后提交');
|
|
|
+ }
|
|
|
|
|
|
- $this->error('您提交的企业信息或营业执照照片未通过校验,请仔细核对后提交');
|
|
|
+// $this->error('您提交的企业信息或营业执照照片未通过校验,请仔细核对后提交');
|
|
|
} else {
|
|
|
$this->error($res['msg']);
|
|
|
}
|