diff --git a/front/templates/success.html b/front/templates/success.html
index e1a50a6..e273fb8 100644
--- a/front/templates/success.html
+++ b/front/templates/success.html
@@ -108,6 +108,10 @@
document.getElementsByClassName('success')[0].style.display = 'block';
document.getElementsByClassName('error')[0].style.display = 'none';
window.location.href = {{.returnUrl}}; // 跳转
+ } else if (res.err_msg == "get_brand_wcpay_request:cancel") {
+ document.getElementsByClassName('error')[0].style.display = 'block';
+ document.getElementsByClassName('success')[0].style.display = 'none';
+ document.getElementsByClassName('error')[0].innerHTML = '取消支付';
} else {
document.getElementsByClassName('error')[0].style.display = 'block';
document.getElementsByClassName('success')[0].style.display = 'none';