From c18f79e01a2705d34d5ac2923a26913dba07ea14 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 03 八月 2024 16:04:18 +0800 Subject: [PATCH] 2024-08-03 --- src/tabviews/zshare/actionList/funcbutton/index.jsx | 23 ++++------------------- 1 files changed, 4 insertions(+), 19 deletions(-) diff --git a/src/tabviews/zshare/actionList/funcbutton/index.jsx b/src/tabviews/zshare/actionList/funcbutton/index.jsx index 995c55d..251ecff 100644 --- a/src/tabviews/zshare/actionList/funcbutton/index.jsx +++ b/src/tabviews/zshare/actionList/funcbutton/index.jsx @@ -215,21 +215,6 @@ } } - let appId = window.GLOB.WXAppID || window.GLOB.WXminiAppID || '' - - if (btn.wxApp && window.GLOB.WXApps && window.GLOB.WXApps.findIndex(item => item.appId === btn.wxApp) > -1) { - appId = btn.wxApp - } - - if (!appId) { - notification.warning({ - top: 10, - message: '鏈幏鍙栧埌搴旂敤ID锛�', - duration: 5 - }) - return - } - this.setState({loading: true}) if (param) { @@ -240,7 +225,7 @@ id = res.mk_b_id || res[btn.output] || orderId } - Api.setRefund({out_biz_no: id, app_id: appId}).then(res => { + Api.setRefund({out_biz_no: id}).then(res => { if (!res.status) { this.execError({ErrCode: 'E', message: res.message || window.GLOB.dict['exc_fail'] || '鎵ц澶辫触锛�', ...res}) } else { @@ -252,7 +237,7 @@ } }) } else { - Api.setRefund({out_biz_no: orderId, app_id: appId}).then(res => { + Api.setRefund({out_biz_no: orderId}).then(res => { if (!res.status) { this.execError({ErrCode: 'E', message: res.message || window.GLOB.dict['exc_fail'] || '鎵ц澶辫触锛�', ...res}) } else { @@ -363,8 +348,8 @@ } if (window.GLOB.debugger === true) { - console.info('%c' + btn.logLabel, 'color: blue') - console.info(_sql) + window.mkInfo('%c' + btn.logLabel, 'color: blue') + window.mkInfo(_sql) } return _sql -- Gitblit v1.8.0