Commit 3a726451 by 杨树贤

fix

parent 1781ac1c
...@@ -15,7 +15,7 @@ class SupplierShareApplyTransformer ...@@ -15,7 +15,7 @@ class SupplierShareApplyTransformer
$item['create_time'] = date('Y-m-d H:i:s', $item['create_time']); $item['create_time'] = date('Y-m-d H:i:s', $item['create_time']);
$item['status_name'] = array_get(config('field.SupplierShareApplyStatus'), $item['status']); $item['status_name'] = array_get(config('field.SupplierShareApplyStatus'), $item['status']);
$item['yunxin_channel_name'] = (new AdminUserService())->getAdminUserNameByCodeId($item['supplier']['yunxin_channel_uid']); $item['yunxin_channel_name'] = (new AdminUserService())->getAdminUserNameByCodeId($item['supplier']['yunxin_channel_uid']);
$item['apply_user_name'] = $item['apply_user']['name']; $item['apply_user_name'] = !empty($item['apply_user']) ? $item['apply_user']['name'] : '';
unset($item['apply_user']); unset($item['apply_user']);
} }
unset($item); unset($item);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment