diff --git a/view/peko/modules/h5Income/chainBank.html b/view/peko/modules/h5Income/chainBank.html index db4ef9b..a4d19a6 100644 --- a/view/peko/modules/h5Income/chainBank.html +++ b/view/peko/modules/h5Income/chainBank.html @@ -93,4 +93,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/view/peko/modules/h5Income/js/chainBank.js b/view/peko/modules/h5Income/js/chainBank.js index 67e8af8..a4d2180 100644 --- a/view/peko/modules/h5Income/js/chainBank.js +++ b/view/peko/modules/h5Income/js/chainBank.js @@ -87,8 +87,8 @@ function getUploadToken (type) { }, }); - } else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) { - window.location.href = './login.html' + } else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) { + window.location.href = './login.html' } else { toastMsg(res.message) } @@ -157,8 +157,8 @@ function withdrawUserAccount (name, idCardNo, accountNo, contact, thirdAccountNo setTimeout(function () { window.location.href = './withdrawal.html' }, 500) - } else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) { - window.location.href = './login.html' + } else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) { + window.location.href = './login.html' } else { toastMsg(res.message) } @@ -178,6 +178,8 @@ $('.but').click(function () { toastMsg('請上傳身份證'); return; } - withdrawUserAccount($('.box1 div .name').val(), $('.box1 div .card').val(), $('.box2 div .bankCard').val(), $('.box2 div .phone').val(), $('.box2 div .alipay').val(), $('.box2 div .address').val(), $('.box3 .idBox .z .documents').attr('src'), $('.box3 .idBox .z .documents').attr('src')); + withdrawUserAccount($('.box1 div .name').val(), $('.box1 div .card').val(), $('.box2 div .bankCard').val(), $('.box2 div .phone').val(), $('.box2 div .alipay').val(), $('.box2 div .address').val(), + $('.box3 .idBox .z .documents').attr('src'), + $('.box3 .idBox .f .documents').attr('src')); } }) \ No newline at end of file diff --git a/view/peko/modules/h5Income/js/malaysia.js b/view/peko/modules/h5Income/js/malaysia.js index 8d6bcfd..ed43df5 100644 --- a/view/peko/modules/h5Income/js/malaysia.js +++ b/view/peko/modules/h5Income/js/malaysia.js @@ -214,7 +214,7 @@ $('.but').click(function () { $('.box2 div .swiftCode').val(), $('.box2 div .phone').val(), $('.box3 .idBox .z .documents').attr('src'), - $('.box3 .idBox .z .documents').attr('src') + $('.box3 .idBox .f .documents').attr('src') ); } }) \ No newline at end of file diff --git a/view/peko/modules/h5Income/js/other.js b/view/peko/modules/h5Income/js/other.js index 0c5f5e3..0614292 100644 --- a/view/peko/modules/h5Income/js/other.js +++ b/view/peko/modules/h5Income/js/other.js @@ -186,7 +186,7 @@ $('.but').click(function () { $('.box1 div .card').val(), $('.box1 div .phone').val(), $('.box3 .idBox .z .documents').attr('src'), - $('.box3 .idBox .z .documents').attr('src') + $('.box3 .idBox .f .documents').attr('src') ); } }) \ No newline at end of file diff --git a/view/peko/modules/h5Income/js/singapore.js b/view/peko/modules/h5Income/js/singapore.js index 4ca7929..9153562 100644 --- a/view/peko/modules/h5Income/js/singapore.js +++ b/view/peko/modules/h5Income/js/singapore.js @@ -214,7 +214,7 @@ $('.but').click(function () { $('.box2 div .swiftCode').val(), $('.box2 div .phone').val(), $('.box3 .idBox .z .documents').attr('src'), - $('.box3 .idBox .z .documents').attr('src') + $('.box3 .idBox .f .documents').attr('src') ); } }) \ No newline at end of file diff --git a/view/peko/modules/h5Income/malaysia.html b/view/peko/modules/h5Income/malaysia.html index f149375..bf15b5c 100644 --- a/view/peko/modules/h5Income/malaysia.html +++ b/view/peko/modules/h5Income/malaysia.html @@ -114,4 +114,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/view/peko/modules/h5Income/other.html b/view/peko/modules/h5Income/other.html index fe8fd3e..2189bd3 100644 --- a/view/peko/modules/h5Income/other.html +++ b/view/peko/modules/h5Income/other.html @@ -82,4 +82,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/view/peko/modules/h5Income/singapore.html b/view/peko/modules/h5Income/singapore.html index d95b926..f192fa8 100644 --- a/view/peko/modules/h5Income/singapore.html +++ b/view/peko/modules/h5Income/singapore.html @@ -114,4 +114,4 @@ - \ No newline at end of file + \ No newline at end of file