From 90e7f000c82610976db062724ec1e73287aa181f Mon Sep 17 00:00:00 2001 From: zzc <1761997216@qq.com> Date: Tue, 24 Feb 2026 20:55:13 +0800 Subject: [PATCH] fix: lucky page --- api/avatar.js | 14 ++++++++++++++ pages/avatar/download.vue | 39 ++++++++++++++++++++++++--------------- 2 files changed, 38 insertions(+), 15 deletions(-) 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 @@