细节优化

feat/task1-c-wallet
gongfuxiang 2021-11-07 10:54:13 +08:00
parent adaf561ec8
commit dcf49be56c
1 changed files with 1 additions and 1 deletions

View File

@ -1046,7 +1046,7 @@ php;
'plugins_data' => $data,
];
$res = StoreService::PluginsUpgradeInfo($request_params);
if(!empty($res['data']))
if(!empty($res['data']) && is_array($res['data']))
{
$res['data'] = array_column($res['data'], null, 'plugins');
}