From b53964855aedf1861ada7a09adc8c88d24c9bf41 Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Tue, 8 Oct 2024 17:25:26 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=AF=94=E4=BE=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/PayLogic.php | 2 +- app/common/model/AccountLog.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/api/logic/PayLogic.php b/app/api/logic/PayLogic.php index 5c467465..86421a37 100755 --- a/app/api/logic/PayLogic.php +++ b/app/api/logic/PayLogic.php @@ -809,7 +809,7 @@ class PayLogic extends Logic if($first_user['first_leader']!=0){ $is_d = Distribution::where('user_id', $first_user['first_leader'] )->where('is_distribution', 1 )->find(); if($is_d!=null){ - $earnings = round($post['money']*0.05,2); + $earnings = round($post['money']*0.01,2); User::where('id', $first_user['first_leader']) ->inc('earnings', $earnings)->update(); $earnings_buy = AccountLog::where('user_id', $first_user['first_leader'])->order("create_time desc")->limit(1)->value('left_amount'); diff --git a/app/common/model/AccountLog.php b/app/common/model/AccountLog.php index 48fdabe8..18a3b7c3 100755 --- a/app/common/model/AccountLog.php +++ b/app/common/model/AccountLog.php @@ -88,6 +88,7 @@ class AccountLog extends Models self::shop_reduce_wallet, //商户佣金减少 self::baiyibutie, //百亿补贴 self::billions_inc_earnings,//百亿返贴 + self::recharge_billions_inc_earnings,//返充值 self::local_inc_earnings,//本地商家支付佣金增加 self::balance_rechange_inc_earnings,//推广用户充值佣金增加 self::electrodeless_rechange_inc_earnings,//无极会员推广充值佣金增加 @@ -126,6 +127,7 @@ class AccountLog extends Models self::local_user_inc_earnings => '本地生活用户佣金', self::electrodeless_local_inc_earnings => '无极本地生活用户佣金', self::company_electrodeless_local_inc_earnings => '无极公司本地生活用户佣金', + self::recharge_billions_inc_earnings => '用户返充佣金', self::withdraw_to_balance => '佣金提现', self::withdraw_dec_earnings => '提现扣减佣金', self::withdraw_back_earnings => '拒绝提现返还佣金',