diff --git a/view/peko/modules/h5Income/index.html b/view/peko/modules/h5Income/index.html index c6cefa8..3fd1bc7 100644 --- a/view/peko/modules/h5Income/index.html +++ b/view/peko/modules/h5Income/index.html @@ -57,4 +57,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/view/peko/modules/h5Income/js/index.js b/view/peko/modules/h5Income/js/index.js index 4474f35..8cdf854 100644 --- a/view/peko/modules/h5Income/js/index.js +++ b/view/peko/modules/h5Income/js/index.js @@ -46,11 +46,12 @@ function getQueryWithRoomType () { type: 'GET', url: urlPrefix + '/purse/queryWithRoomType', success (res) { + console.log(res); if (res.code === 200) { $('.diamond p').text(res.data.diamonds); $('.gold p').text(res.data.golds); } else if (res.code ? res.code == 1444 : JSON.parse(res).code == 401) { - window.location.href = './login.html' + // window.location.href = './login.html' } else { toastMsg(res.message) }