|
@@ -246,35 +246,35 @@ class Auth extends BaseController {
|
|
|
if ($this->request->isPost()) {
|
|
|
$response_object = new \StdClass();
|
|
|
$data = $ep->toArray();
|
|
|
- /* $data = [
|
|
|
- 'name' => \StrUtil::getRequestDecodeParam($this->request, 'name'), //单位名称
|
|
|
- 'idCard' => \StrUtil::getRequestDecodeParam($this->request, 'idCard'), //统一社会信用代码
|
|
|
- 'agentName' => \StrUtil::getRequestDecodeParam($this->request, 'agentName'), //人才联络员
|
|
|
- 'legal' => \StrUtil::getRequestDecodeParam($this->request, 'legal'), //法人
|
|
|
- 'street' => \StrUtil::getRequestDecodeParam($this->request, 'street'), //镇街
|
|
|
- 'address' => \StrUtil::getRequestDecodeParam($this->request, 'address'), //地址
|
|
|
- 'type' => intval($this->request['type']),
|
|
|
- 'agencyType' => intval($this->request['agencyType']),
|
|
|
- 'enterpriseTag' => \StrUtil::getRequestDecodeParam($this->request, 'enterpriseTag'), //单位标签
|
|
|
- 'organizationTag' => \StrUtil::getRequestDecodeParam($this->request, 'organizationTag'), //机构标签
|
|
|
- 'institutionTag' => \StrUtil::getRequestDecodeParam($this->request, 'institutionTag'), //事业单位标签
|
|
|
- 'enterpriseType' => \StrUtil::getRequestDecodeParam($this->request, 'enterpriseType'), //单位类型
|
|
|
- 'agentPhone' => \StrUtil::getRequestDecodeParam($this->request, 'agentPhone'), //手机
|
|
|
- 'agentEmail' => \StrUtil::getRequestDecodeParam($this->request, 'agentEmail'), //邮箱
|
|
|
- 'ephone' => \StrUtil::getRequestDecodeParam($this->request, 'ephone'), //单位电话
|
|
|
- 'industryFieldNew' => \StrUtil::getRequestDecodeParam($this->request, 'industryFieldNew'), //产业领域
|
|
|
- 'industryFieldOld' => \StrUtil::getRequestDecodeParam($this->request, 'industryFieldOld'), //行业领域
|
|
|
- 'bankCard' => \StrUtil::getRequestDecodeParam($this->request, 'bankCard'), //银行
|
|
|
- 'bank' => \StrUtil::getRequestDecodeParam($this->request, 'bank'), //开户行
|
|
|
- 'bankNetwork' => \StrUtil::getRequestDecodeParam($this->request, 'bankNetwork')//网点
|
|
|
- ]; */
|
|
|
- if ($ep->modify_fields) {
|
|
|
- $modify_fields = explode(",", $ep->modify_fields);
|
|
|
- foreach ($modify_fields as $field) {
|
|
|
- $data[$field] = \StrUtil::getRequestDecodeParam($this->request, $field);
|
|
|
- }
|
|
|
- }
|
|
|
- $modify_files = explode(",", $ep->modify_files);
|
|
|
+ $data = [
|
|
|
+ 'name' => \StrUtil::getRequestDecodeParam($this->request, 'name'), //单位名称
|
|
|
+ 'idCard' => \StrUtil::getRequestDecodeParam($this->request, 'idCard'), //统一社会信用代码
|
|
|
+ 'agentName' => \StrUtil::getRequestDecodeParam($this->request, 'agentName'), //人才联络员
|
|
|
+ 'legal' => \StrUtil::getRequestDecodeParam($this->request, 'legal'), //法人
|
|
|
+ 'street' => \StrUtil::getRequestDecodeParam($this->request, 'street'), //镇街
|
|
|
+ 'address' => \StrUtil::getRequestDecodeParam($this->request, 'address'), //地址
|
|
|
+ 'type' => intval($this->request['type']),
|
|
|
+ 'agencyType' => intval($this->request['agencyType']),
|
|
|
+ 'enterpriseTag' => \StrUtil::getRequestDecodeParam($this->request, 'enterpriseTag'), //单位标签
|
|
|
+ 'organizationTag' => \StrUtil::getRequestDecodeParam($this->request, 'organizationTag'), //机构标签
|
|
|
+ 'institutionTag' => \StrUtil::getRequestDecodeParam($this->request, 'institutionTag'), //事业单位标签
|
|
|
+ 'enterpriseType' => \StrUtil::getRequestDecodeParam($this->request, 'enterpriseType'), //单位类型
|
|
|
+ 'agentPhone' => \StrUtil::getRequestDecodeParam($this->request, 'agentPhone'), //手机
|
|
|
+ 'agentEmail' => \StrUtil::getRequestDecodeParam($this->request, 'agentEmail'), //邮箱
|
|
|
+ 'ephone' => \StrUtil::getRequestDecodeParam($this->request, 'ephone'), //单位电话
|
|
|
+ 'industryFieldNew' => \StrUtil::getRequestDecodeParam($this->request, 'industryFieldNew'), //产业领域
|
|
|
+ 'industryFieldOld' => \StrUtil::getRequestDecodeParam($this->request, 'industryFieldOld'), //行业领域
|
|
|
+ 'bankCard' => \StrUtil::getRequestDecodeParam($this->request, 'bankCard'), //银行
|
|
|
+ 'bank' => \StrUtil::getRequestDecodeParam($this->request, 'bank'), //开户行
|
|
|
+ 'bankNetwork' => \StrUtil::getRequestDecodeParam($this->request, 'bankNetwork')//网点
|
|
|
+ ];
|
|
|
+ /* 注释注册驳回字段if ($ep->modify_fields) {
|
|
|
+ $modify_fields = explode(",", $ep->modify_fields);
|
|
|
+ foreach ($modify_fields as $field) {
|
|
|
+ $data[$field] = \StrUtil::getRequestDecodeParam($this->request, $field);
|
|
|
+ }
|
|
|
+ } */
|
|
|
+ $modify_files = ["imgurl", "bankImg", "domainImg", "typeImg", "beian"]; //注释注册驳回附件explode(",", $ep->modify_files);
|
|
|
$files = $this->request->file();
|
|
|
if ($files) {
|
|
|
$uploadapi = new UploadApi();
|