Handy_Cao %!s(int64=2) %!d(string=hai) anos
pai
achega
1cefedf215
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {