修正2个地址错误

This commit is contained in:
zhl 2021-01-28 16:45:48 +08:00
parent 9e306e4984
commit b9eb9a7e43

View File

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