env:后端的请求地址,调整到 env 里

This commit is contained in:
YunaiV
2024-01-20 13:13:28 +08:00
parent 80f80e358f
commit 33d57fd7e5
33 changed files with 130 additions and 145 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ export default {
// 获得文章详情
getArticle: (id, title) => {
return request({
url: '/app-api/promotion/article/get',
url: '/promotion/article/get',
method: 'GET',
params: { id, title }
});