From df0d8b257905e5060148e34a1ab92b916f89c49e Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Tue, 20 Aug 2024 14:56:29 +0800 Subject: [PATCH] 1 --- webapp/services/ContributionService.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/services/ContributionService.php b/webapp/services/ContributionService.php index 61ca9e8c..42a67ef2 100644 --- a/webapp/services/ContributionService.php +++ b/webapp/services/ContributionService.php @@ -16,6 +16,9 @@ class ContributionService extends BaseService { if (array_key_exists($ca, self::$ignoreCa)) { return; } + if ($ca == 'Bag@buyItemS' && getReqVal('item_id', '')== 900006){ + return; + } myself()->_giveContributionPoint(round($params/10,2)); myself()->_callModelStatic('Contribution', 'add', round($params/10,2)); myself()->_callModelStatic('Contribution', 'addHistory', $params, round($params/10,2),getReqVal('c', ''),getReqVal('a',''));