Handy_Cao 2 years ago
parent
commit
1cefedf215
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/services/http/index.ts

+ 1 - 1
src/services/http/index.ts

@@ -156,7 +156,7 @@ export default new (class {
      * @returns 
      */
     async goRequest<T>(config: AxiosRequestConfig, errMsg?: string) {
-        const baseUrl = 'http://192.168.30.172:8888/api'//service.getConfig('goAccess')
+        const baseUrl = service.getConfig('goAccess')
         config.url = baseUrl + config.url
         const res = await this.request<CommonResult<T>>(config, errMsg)
         switch (res.code) {