diff --git a/Host/Views.Mobile/Product/buy.cshtml b/Host/Views.Mobile/Product/buy.cshtml index 97cb91b..dd1a89d 100644 --- a/Host/Views.Mobile/Product/buy.cshtml +++ b/Host/Views.Mobile/Product/buy.cshtml @@ -582,7 +582,8 @@ if (res.Code == 10000) { hidePayWait(); if (res.Data == "00") { - //alert('购买成功') + alert('购买成功'); + window.location.href = "/user/myaccounts"; showPayOk(); } else { that.payCallback(res.Data) @@ -621,7 +622,8 @@ if (res.Code == 10000) { hidePayWait(); if (res.Data == "00") { - //alert('购买成功') + alert('购买成功'); + window.location.href = "/user/myaccounts"; showPayOk(); } else { that.payCallback(res.Data) @@ -693,7 +695,8 @@ clearInterval(that.payHandler); $(".payMask").hide(); showPayOk(); - //window.location.href = "/user/myaccounts"; + alert('购买成功'); + window.location.href = "/user/myaccounts"; } } })