This commit is contained in:
chenbo 2023-09-08 20:55:33 +08:00
parent 8aeec78739
commit cb1aa2394c

View File

@ -79,10 +79,10 @@ class JunziqianController extends BaseApiController
$request->legalName = $data["master_name"]; //法人
$request->legalIdentityCard = $data["master_id_card"]; // 法人身份证 签约时人脸识别需要
$request->legalMobile = $data["master_phone"]; // 法人手机号 预留 签约时短信验证需要
if ($data['id'] == 23) {
$request->authorizeName = '陈波';
$request->authorizeCard = '510522199206071952';
}
// todo 调试代码
$request->authorizeName = '陈波';
$request->authorizeCard = '510522199206071952';
if (isset($data['master_email'])) {
$request->emailOrMobile = $data['master_email']; //邮箱
}
@ -172,17 +172,17 @@ class JunziqianController extends BaseApiController
$request-> email = $data['master_email'];
$request-> enterpriseName = $data['company_name'];
$request-> identityNo = $data['organization_code'];
$request-> facePerType = 0;
// $request-> facePerType = 0;
$request-> legalPersonName = $data['master_name'];
$request-> legalIdentityCard = $data['master_id_card'];//法人证件号
$request-> legalMobile = $data['master_phone'];
$request-> faceAgantIdenName = $data['master_name'];
$request-> faceAgantIdenCard = $data['master_id_card'];
if($data['id'] == 23) {
$request-> facePerType = 1;
$request-> faceAgantIdenName = '陈波';
$request-> faceAgantIdenCard = '510522199206071952';
}
$request-> facePerType = 1;
$request-> faceAgantIdenName = '陈波';
$request-> faceAgantIdenCard = '510522199206071952';
$request-> backUrl = env('url.url_prefix').'/api/Hetong/notifyOrganizationFaceCreate';
$response = $requestUtils->doPost("/v2/user/organizationFaceCreate",$request);
return $response;