diff --git a/view/peko/modules/h5Income/js/index.js b/view/peko/modules/h5Income/js/index.js index 8cdf854..49f610f 100644 --- a/view/peko/modules/h5Income/js/index.js +++ b/view/peko/modules/h5Income/js/index.js @@ -71,12 +71,13 @@ function getUser () { url: urlPrefix + '/user/get', data: { uid: pubInfo.uid }, success (res) { + console.log(res); if (res.code === 200) { $('.myInfo img').attr('src', res.data.avatar); $('.myInfo div p').text(res.data.nick); $('.myInfo div b').text("ID:" + res.data.erbanNo); } 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) }