From a6cfaea4cfac187f24cbd56ec07a7cc766a6c9a7 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 29 六月 2024 15:31:17 +0800
Subject: [PATCH] 2024-06-29

---
 src/tabviews/zshare/actionList/funcbutton/index.jsx |   19 ++-----------------
 1 files changed, 2 insertions(+), 17 deletions(-)

diff --git a/src/tabviews/zshare/actionList/funcbutton/index.jsx b/src/tabviews/zshare/actionList/funcbutton/index.jsx
index 995c55d..53fc63a 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 {

--
Gitblit v1.8.0