2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-05 12:23:35 +08:00

feat: app支持排序

This commit is contained in:
2026-01-12 22:17:18 +08:00
parent 1e5181c88e
commit bb28e5ef6d
7 changed files with 127 additions and 40 deletions

View File

@@ -15,6 +15,8 @@ export default {
update: (slug: string): any => http.Post('/app/update', { slug }),
// 设置首页显示
updateShow: (slug: string, show: boolean): any => http.Post('/app/update_show', { slug, show }),
// 更新首页显示排序
updateOrder: (slugs: string[]): any => http.Post('/app/update_order', { slugs }),
// 应用是否已安装
isInstalled: (slugs: string): any => http.Get('/app/is_installed', { params: { slugs } }),
// 更新缓存