update niucloud

This commit is contained in:
全栈小学生 2023-10-26 09:58:16 +08:00
parent 4ba0a8c542
commit ecbef463d5
5 changed files with 20 additions and 2 deletions

View File

@ -49,6 +49,9 @@ class Config extends BaseAdminController
[ 'front_end_name', '' ],
[ 'front_end_logo', '' ],
[ 'icon', '' ],
[ 'tel', '' ],
[ 'wechat_code', '' ],
[ 'enterprise_wechat', '' ],
]);
$this->validate($data, 'app\validate\site\Site.edit');
( new ConfigService() )->setWebSite($data);

View File

@ -36,6 +36,19 @@ return [
'sort' => 20,
'status' => 1,
'is_show' => 1
],
[
'menu_name' => '工具管理',
'menu_key' => 'app_manage_tool',
'menu_type' => 1,
'icon' => 'iconfont-iconchajian1',
'api_url' => '',
'router_path' => 'tools',
'view_path' => 'tools/index',
'methods' => 'get',
'sort' => 30,
'status' => 1,
'is_show' => 1
]
]
],

View File

@ -72,6 +72,7 @@ class LoginService extends BaseAdminService
'userinfo' => [
'uid' => $userinfo->uid,
'username' => $userinfo->username,
'head_img' => $userinfo->head_img,
]
];

View File

@ -80,6 +80,7 @@ class CoreAddonCloudService extends CoreCloudBaseService
'filename' => 'build.zip'
]
],
'timeout' => 50.0
]);
if (isset($response['code']) && $response['code'] == 0) throw new CommonException($response['msg']);

View File

@ -1,6 +1,6 @@
<?php
return [
'version' => '1.0.5',
'code' => '202307010001'
'version' => '0.0.4',
'code' => '202310240001'
];