From d29cc94e5adcfc8588008ff8f3134022e25e0670 Mon Sep 17 00:00:00 2001 From: Todking Date: Tue, 28 Dec 2021 11:00:37 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=B0=83=E6=95=B4=E6=B8=A0=E9=81=93?= =?UTF-8?q?=E5=BC=80=E5=85=B3=E9=99=90=E5=88=B6=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/payment/partner/partner-manage.js | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/src/main/ui/static/payment/partner/partner-manage.js b/src/main/ui/static/payment/partner/partner-manage.js index 2e7020897..d88c9eea5 100644 --- a/src/main/ui/static/payment/partner/partner-manage.js +++ b/src/main/ui/static/payment/partner/partner-manage.js @@ -2485,30 +2485,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter if (!$scope.paymentInfo) { return } - // if (!$scope.init.channel[channel]) { - // $scope.init.channel[channel] = true - // return - // } - if($scope.paymentInfo.aps_config_id){ - if(channel == 'alipay' && !$scope.paymentInfo.alipay_cn_switch){ - commonDialog.alert({ - title: 'ERROR', - content: "Please switch AlipayCN to Alipay channel, and then close Alipay channel", - type: 'error', - }) - $scope.loadPartnerPaymentInfo() - return; - } - if (channel == 'alipayaps' && $scope.paymentInfo.alipay_cn_switch) { - commonDialog.alert({ - title: 'ERROR', - content: "Please switch AlipayCN to Alipay channel, and then close Alipay+(APS) channel", - type: 'error', - }) - $scope.loadPartnerPaymentInfo() - return; - } - } $scope.getComplianceInfo() if ($scope.paymentInfo['enable_wechat'] && channel == 'wechat' && $scope.paymentInfo.open_status == 5 && info.length > 0) { commonDialog