diff --git a/src/common/WebApi.ts b/src/common/WebApi.ts index 0a34419..8ae35da 100644 --- a/src/common/WebApi.ts +++ b/src/common/WebApi.ts @@ -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) {