处理商户后台资质展示的错误
This commit is contained in:
parent
8d9080f76b
commit
387636b8fc
@ -147,6 +147,9 @@ class Merchant extends BaseController
|
||||
$delivery = $repository->get($this->request->merId()) + systemConfig(['tx_map_key']);
|
||||
$data = array_merge($data,$delivery);
|
||||
$data['sys_bases_status'] = systemConfig('sys_bases_status') === '0' ? 0 : 1;
|
||||
if (!empty($data['mer_certificate']) && !is_array($data['mer_certificate'])) {
|
||||
$data['mer_certificate'] = explode(',', $data['mer_certificate']);
|
||||
}
|
||||
|
||||
return app('json')->success($data);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user