添加店铺信息

This commit is contained in:
luofei 2024-03-19 18:08:16 +08:00
parent d4ea770ff6
commit 7baf7ccf34

View File

@ -366,6 +366,9 @@ class MerchantRepository extends BaseRepository
]);
$merchant->append(['type_name', 'isset_certificate', 'services_type']);
$merchant['care'] = false;
$merchant['mer_info'] = merchantConfig($merchant['mer_id'], [
'mer_take_status', 'mer_take_name', 'mer_take_phone', 'mer_take_address', 'mer_take_location', 'mer_take_day', 'mer_take_time'
]);
if ($userInfo)
$merchant['care'] = $this->getCareByUser($id, $userInfo->uid);
return $merchant;