mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-13 03:12:47 +00:00
update niucloud
This commit is contained in:
parent
4ba0a8c542
commit
ecbef463d5
@ -49,6 +49,9 @@ class Config extends BaseAdminController
|
|||||||
[ 'front_end_name', '' ],
|
[ 'front_end_name', '' ],
|
||||||
[ 'front_end_logo', '' ],
|
[ 'front_end_logo', '' ],
|
||||||
[ 'icon', '' ],
|
[ 'icon', '' ],
|
||||||
|
[ 'tel', '' ],
|
||||||
|
[ 'wechat_code', '' ],
|
||||||
|
[ 'enterprise_wechat', '' ],
|
||||||
]);
|
]);
|
||||||
$this->validate($data, 'app\validate\site\Site.edit');
|
$this->validate($data, 'app\validate\site\Site.edit');
|
||||||
( new ConfigService() )->setWebSite($data);
|
( new ConfigService() )->setWebSite($data);
|
||||||
|
|||||||
@ -36,6 +36,19 @@ return [
|
|||||||
'sort' => 20,
|
'sort' => 20,
|
||||||
'status' => 1,
|
'status' => 1,
|
||||||
'is_show' => 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
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|||||||
@ -72,6 +72,7 @@ class LoginService extends BaseAdminService
|
|||||||
'userinfo' => [
|
'userinfo' => [
|
||||||
'uid' => $userinfo->uid,
|
'uid' => $userinfo->uid,
|
||||||
'username' => $userinfo->username,
|
'username' => $userinfo->username,
|
||||||
|
'head_img' => $userinfo->head_img,
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@ -80,6 +80,7 @@ class CoreAddonCloudService extends CoreCloudBaseService
|
|||||||
'filename' => 'build.zip'
|
'filename' => 'build.zip'
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
'timeout' => 50.0
|
||||||
]);
|
]);
|
||||||
if (isset($response['code']) && $response['code'] == 0) throw new CommonException($response['msg']);
|
if (isset($response['code']) && $response['code'] == 0) throw new CommonException($response['msg']);
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'version' => '1.0.5',
|
'version' => '0.0.4',
|
||||||
'code' => '202307010001'
|
'code' => '202310240001'
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user