1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-11 12:49:30 +08:00

fix: 修复首页文章排序问题、修复文章详情广告问题

This commit is contained in:
小莫唐尼
2024-05-25 14:58:28 +08:00
parent 0d618e21ce
commit 85f166e7d0
6 changed files with 69 additions and 100 deletions
+1
View File
@@ -31,6 +31,7 @@ http.setConfig((config) => {
}
return config
})
setInterceptors(http)
export {
+2 -4
View File
@@ -1,8 +1,6 @@
/**
* 封装各种请求方式
*/
import {
http
} from '@/common/http/index.js'
@@ -11,7 +9,7 @@ export default {
Get: (url, params, config = {}) => {
return http.get(url, {
params,
...config
...config
})
},
Post: (url, data, config = {}) => {
@@ -26,4 +24,4 @@ export default {
Delete: (url, data, config = {}) => {
return http.delete(url, data, config)
}
}
}