first commit

This commit is contained in:
编码猿
2024-09-27 01:31:25 +08:00
commit 07c46ac300
558 changed files with 37414 additions and 0 deletions

1
h5/js/service/.pydio Normal file
View File

@@ -0,0 +1 @@
bbee3d0d-25eb-4ed6-9cad-b421310b11c6

View File

@@ -0,0 +1,82 @@
/**
* 请求的中间层
* 被页面调用然后它去调用ajax
*/
class HomeService {
GetHomeData(data) {
return ajax({
url: Config.ApiList.index,
data: data,
methods: 'GET'
});
}
info(data) {
return ajax({
url: Config.ApiList.info,
data: data,
methods: 'GET'
});
}
mechanism(data) {
return ajax({
url: Config.ApiList.mechanism,
data: data,
methods: 'GET'
});
}
type(data) {
return ajax({
url: Config.ApiList.type,
data: data,
methods: 'GET'
});
}
classList(data) {
return ajax({
url: Config.ApiList.classList,
data: data,
methods: 'GET'
});
}
allModel(data) {
return ajax({
url: Config.ApiList.allModel,
data: data,
methods: 'GET'
});
}
modelList(data) {
return ajax({
url: Config.ApiList.modelList,
data: data,
methods: 'GET'
});
}
mechanismList(data) {
return ajax({
url: Config.ApiList.mechanismList,
data: data,
methods: 'GET'
});
}
search(data) {
return ajax({
url: Config.ApiList.search,
data: data,
methods: 'GET'
});
}
};
var homeService = new HomeService()