From b9eb9a7e439f7ba6a8ccb14bf517aafddf6ed9b0 Mon Sep 17 00:00:00 2001 From: zhl Date: Thu, 28 Jan 2021 16:45:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A32=E4=B8=AA=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/WebApi.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {