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