no info service found只在生产环境才记录
This commit is contained in:
parent
3f1802c35c
commit
98e46c51c9
@ -92,7 +92,7 @@ export class Service {
|
|||||||
}
|
}
|
||||||
let svrList = this.serviceMap.get(key)
|
let svrList = this.serviceMap.get(key)
|
||||||
if (svrList.length == 0 || !isProd) {
|
if (svrList.length == 0 || !isProd) {
|
||||||
error('no info service found')
|
if (isProd) error('no info service found')
|
||||||
return config.info_svr
|
return config.info_svr
|
||||||
}
|
}
|
||||||
return 'http://' + svrList.randomOne() + '/svr'
|
return 'http://' + svrList.randomOne() + '/svr'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user