1.比例修改
This commit is contained in:
parent
3199f3b1b7
commit
b53964855a
@ -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');
|
||||
|
||||
@ -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 => '拒绝提现返还佣金',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user