diff --git a/coupon/myOrder.html b/coupon/myOrder.html
index 4158088..a38add6 100644
--- a/coupon/myOrder.html
+++ b/coupon/myOrder.html
@@ -319,7 +319,7 @@
let ua = navigator.userAgent.toLowerCase(); //判断用户打开链接环境
/* 支付宝 */
- if (res.goods.entity.channel == 1) {
+ if (res.goods.channel == 1) {
let bankLink = encodeURIComponent(
window.location.origin +
"/alipay.html?orderNumber=" + res.alipay_order_number
@@ -336,7 +336,7 @@
}
//微信
- if (res.goods.entity.channel == 2) {
+ if (res.goods.channel == 2) {
if (ua.indexOf("dingtalk") > -1) {
//在钉钉内置环境打开,不能唤起微信小程序
this.href = res.wechat_redirect_url