diff --git a/.env.development b/.env.development index a24f4fd..330efcc 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ # 变量必须以 VITE_ 为前缀才能暴露给外部读取 NODE_ENV = 'development' VITE_APP_TITLE = '无糖运营平台' -VITE_APP_BASE_API = 'http://39.106.16.162:8080' \ No newline at end of file +VITE_APP_BASE_API = 'http://127.0.0.1:8080' \ No newline at end of file diff --git a/src/api/courseChaptersApi.ts b/src/api/courseChaptersApi.ts index ae9997c..b6362f4 100644 --- a/src/api/courseChaptersApi.ts +++ b/src/api/courseChaptersApi.ts @@ -101,6 +101,6 @@ export const getCourseInfo = (params: any) => { return request({ url: '/objective_contents/' + params.id, method: "get", - params + // params }) } \ No newline at end of file