店铺申请同步店铺资质
This commit is contained in:
parent
b7cad3cee8
commit
d865bf4fdb
@ -183,9 +183,11 @@ class MerchantIntentionRepository extends BaseRepository
|
||||
if ($data['status'] == 1) {
|
||||
if ($create) {
|
||||
$merchant = app()->make(MerchantRepository::class)->createMerchant($merData);
|
||||
if (!empty($intention['images'])) {
|
||||
app()->make(ConfigValueRepository::class)->setFormData([
|
||||
'mer_certificate' => $data['mer_certificate']
|
||||
'mer_certificate' => $intention['images']
|
||||
], $merchant->mer_id);
|
||||
}
|
||||
$data['mer_id'] = $merchant->mer_id;
|
||||
$data['uid'] = $intention['uid'];
|
||||
$data['reg_admin_id'] = $autoCreate ? 0: $merchant['merchant_admin']['merchant_admin_id'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user