update code

This commit is contained in:
全栈小学生
2023-09-06 14:52:30 +08:00
parent 8f2e36cfa4
commit 36967076d4
1706 changed files with 63614 additions and 17748 deletions

View File

@@ -34,7 +34,7 @@ class AppService extends BaseAdminService
//
$category_list = [];
$list = [];
foreach ($data as $k => $v)
foreach ($data as $v)
{
if(isset($v['category']))
{
@@ -51,7 +51,7 @@ class AppService extends BaseAdminService
{
$category_list[$k_category]['sort'] = $category['sort'] ?? 100;
$category_list[$k_category]['app_list'] = [];
foreach ($list as $k => $app)
foreach ($list as $app)
{
$app_category = $app['category'] ?? "basic";