|
|
@@ -132,7 +132,7 @@ export default new (class {
|
|
|
* @returns
|
|
|
*/
|
|
|
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
|
|
|
const res = await this.request<CommonResult<T>>(config, errMsg)
|
|
|
switch (res.code) {
|