Handy_Cao %!s(int64=2) %!d(string=hai) anos
pai
achega
5a2ad8210b
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

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