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,32 @@
import config from '@/config/index'
import http from '@/http/index'
class IndexService {
async home(data = {}, header = {}) {
let res = await (new http()).post({
url: config.urlList.index,
data: data,
headers: header
});
res.forEach(v => {
v.wares_masterimg = JSON.parse(v.wares_masterimg)
});
return res;
}
async info(data = {}, header = {}) {
let res = await (new http()).post({
url: config.urlList.info,
data: data,
headers: header
});
res.wares_masterimg = JSON.parse(res.wares_masterimg)
res.wares_infoimg = JSON.parse(res.wares_infoimg)
return res;
}
}
export default IndexService