feat: Wallpaper page

This commit is contained in:
zzc
2026-01-26 18:37:32 +08:00
parent 3bb5127d8f
commit ee4f1b85c9
4 changed files with 378 additions and 1 deletions

15
api/wallpaper.js Normal file
View File

@@ -0,0 +1,15 @@
import { request } from "@/utils/request.js";
export const getWallpaperList = async (categoryId, page = 1) => {
return request({
url: `/api/blessing/wallpaper/list?categoryId=${categoryId}&page=${page}`,
method: "GET",
});
};
export const getWallpaperCategoryList = async () => {
return request({
url: `/api/blessing/wallpaper/category/list`,
method: "GET",
});
};