diff --git a/api/avatar.js b/api/avatar.js index 26121f1..9039086 100644 --- a/api/avatar.js +++ b/api/avatar.js @@ -7,6 +7,20 @@ export const getAvatarSystemList = async (page = 1) => { }); }; +export const getAvatarSystemCategoryList = async () => { + return request({ + url: `/api/blessing/avatar/system/category/list`, + method: "GET", + }); +}; + +export const getAvatarSystemListByCategory = async (categoryId, page = 1) => { + return request({ + url: `/api/blessing/avatar/system/list?categoryId=${categoryId}&page=${page}`, + method: "GET", + }); +}; + export const getAvatarDecorList = async (page = 1) => { return request({ url: `/api/blessing/avatar/decor/list?page=${page}`, diff --git a/pages/avatar/download.vue b/pages/avatar/download.vue index 15e93c8..642de67 100644 --- a/pages/avatar/download.vue +++ b/pages/avatar/download.vue @@ -103,9 +103,8 @@