first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1 @@
bdc7c275-9e3a-4833-ba60-ee977efa57c7

View File

@@ -0,0 +1,11 @@
class Bannerservice {
async BanerInfo(params) {
return await http({
type: 'GET',
url: Config.apiUrl.BanerInfo,
data: params
})
}
}
var Banerservice = new Bannerservice()

View File

@@ -0,0 +1,11 @@
class Listervice {
async rightMenuList(params) {
return await http({
type: 'GET',
url: Config.apiUrl.rightMenuList,
data: params
})
}
}
var listervice = new Listervice()

View File

@@ -0,0 +1,38 @@
/**
* 首页的ajax请求中间层封装
*/
class IndexService {
async bannerIndex(params) {
return await http({
type: 'GET',
url: Config.apiUrl.bannerIndex,
data: params
})
}
async threeMeals(params) {
return await http({
type: 'GET',
url: Config.apiUrl.threeMeals,
data: params
})
}
async type(params) {
return await http({
type: 'GET',
url: Config.apiUrl.type,
data: params
})
}
async indexClass(params) {
return await http({
type: 'GET',
url: Config.apiUrl.indexClass,
data: params
})
}
}
var indexService = new IndexService()

View File

@@ -0,0 +1,14 @@
/**
* 首页的ajax请求中间层封装
*/
class IndexfoService {
async indexInfo(params) {
return await http({
type: 'GET',
url: Config.apiUrl.indexInfo,
data: params
})
}
}
var indexfoService = new IndexfoService()

View File

@@ -0,0 +1,11 @@
class searchService {
async search(params) {
return await http({
type: 'GET',
url: Config.apiUrl.search ,
data: params
})
}
}
var SearchService = new searchService()

View File

@@ -0,0 +1,21 @@
/**
* 首页的ajax请求中间层封装
*/
class typeService {
async leftMenu(params) {
return await http({
type: 'GET',
url: Config.apiUrl.leftMenu,
data: params
})
}
async rightMenu(params) {
return await http({
type: 'GET',
url: Config.apiUrl.rightMenu,
data: params
})
}
}
var TypeService = new typeService()

View File

@@ -0,0 +1,14 @@
/**
* 首页的ajax请求中间层封装
*/
class videoService {
async Foodrecipes(params) {
return await http({
type: 'GET',
url: Config.apiUrl.Foodrecipes ,
data: params
})
}
}
var VideoService = new videoService()