梁航:更新页面请求和样式

This commit is contained in:
hot777zz
2023-11-15 16:19:22 +08:00
parent 63d39a021e
commit b0a49dc67d
4 changed files with 128 additions and 106 deletions

View File

@@ -1,4 +1,4 @@
const serverHost = ''//http://xx.xxx.xx
const serverHost = 'http://spsp.feashow.cn/api'//http://xx.xxx.xx
const service = {
get(url, data) {
@@ -174,6 +174,12 @@ const apiService = {
resolve(service.putWithFormData(url, data))
})
},
getTradeInfo(data){
const url = `/home/classlist?pid=0/`
return new Promise((resolve,reject) =>{
resolve(service.post(url, data))
})
}
}
export {
apiService,