feat: Wallpaper page
This commit is contained in:
15
api/wallpaper.js
Normal file
15
api/wallpaper.js
Normal 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",
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user