|
|
@@ -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) {
|