增加新项目

This commit is contained in:
2025-03-16 23:01:07 +08:00
parent 3f86afc191
commit 353b15385f
49 changed files with 4407 additions and 2 deletions

View File

@@ -0,0 +1,38 @@
/**
*
* @param {*} data 是get请求的参数,
* 由页面调用者传递过来给我
*/
const homeBanner = async (data = {}) => {
return await http().get({
url: config.urlList.homeBanner,
// data: data
data
})
}
const homeHot = async (data = {}) => {
let res = await http().get({
url: config.urlList.homeHot,
// data: data
data
})
res.forEach(v => v.view = v.view.replaceAll("W+", ""));
return res
}
const homeList = async (data = {}) => {
let res = await http().get({
url: config.urlList.homeList,
// data: data
data
});
res.forEach(v => v.view = v.view.replaceAll("W+", ""));
return res
}