更新商户类型code
This commit is contained in:
parent
ae3cac7d9a
commit
eda17104f2
@ -246,7 +246,7 @@ class Merchant extends BaseController
|
||||
$delivery = $repository->get($id) + systemConfig(['tx_map_key']);
|
||||
$data = array_merge($data,$delivery);
|
||||
$data['sys_bases_status'] = systemConfig('sys_bases_status') === '0' ? 0 : 1;
|
||||
|
||||
$data['type_code'] = Db::name('MerchantType')->where('mer_type_id', $data['type_id'])->value('type_code');
|
||||
return app('json')->success($data);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user