修正2个地址错误
This commit is contained in:
parent
9e306e4984
commit
b9eb9a7e43
@ -24,7 +24,7 @@ export function getCardGroup(accountid: string, heroid: number, cardgroup: strin
|
||||
}
|
||||
|
||||
export function getUserInfo(accountid: string) {
|
||||
return axios.get(`${ config.info_svr }/${ accountid }/uinfo }`)
|
||||
return axios.get(`${ config.info_svr }/${ accountid }/uinfo`)
|
||||
.then(function (response) {
|
||||
let res = response.data
|
||||
if (res.errcode) {
|
||||
@ -36,7 +36,7 @@ export function getUserInfo(accountid: string) {
|
||||
}
|
||||
|
||||
export function randomUserInfo() {
|
||||
return axios.get(`${ config.info_svr }/randomrobot }`)
|
||||
return axios.get(`${ config.info_svr }/randomrobot`)
|
||||
.then(function (response) {
|
||||
let res = response.data
|
||||
if (res.errcode) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user