update:商户资质同步
This commit is contained in:
parent
aa3e30522b
commit
907ae29aa0
@ -371,6 +371,7 @@ class CompanyController extends BaseAdminController
|
|||||||
if (empty($params['master_name'])) {
|
if (empty($params['master_name'])) {
|
||||||
throw new Exception('商户法人名称不能为空');
|
throw new Exception('商户法人名称不能为空');
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
'mer_intention_id' => $params['mer_intention_id'], // 商城商户入驻申请id,签约完成后回调使用
|
'mer_intention_id' => $params['mer_intention_id'], // 商城商户入驻申请id,签约完成后回调使用
|
||||||
'company_name' => $params['company_name'],
|
'company_name' => $params['company_name'],
|
||||||
@ -381,7 +382,8 @@ class CompanyController extends BaseAdminController
|
|||||||
'master_name' => $params['master_name'],
|
'master_name' => $params['master_name'],
|
||||||
'master_phone' => $params['master_phone'],
|
'master_phone' => $params['master_phone'],
|
||||||
'master_email' => substr(md5(uniqid()),rand(0, 22),10)."@lihai.com",
|
'master_email' => substr(md5(uniqid()),rand(0, 22),10)."@lihai.com",
|
||||||
'face_create_status' => 1
|
'face_create_status' => 1,
|
||||||
|
'qualification' => $params['images']
|
||||||
];
|
];
|
||||||
|
|
||||||
$shopMerchantModel = ShopMerchant::create($data);
|
$shopMerchantModel = ShopMerchant::create($data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user