工行支付
This commit is contained in:
parent
f1618e6a2d
commit
3fce58c1a9
@ -251,7 +251,7 @@ class Gh extends Api
|
||||
}
|
||||
$earns = new Earnings();
|
||||
// 推广会员用户佣金
|
||||
$earnings = round($earnings_pecent*$abutment['classify_amt']/100,2);
|
||||
$earnings = round($earnings_pecent*$abutment['classify_amt']/100/100,2);
|
||||
$distribution_user_earnings = AccountLog::distribution_user_earnings;
|
||||
$earnings_result = $earns->userEarnings($earnings,$user['first_leader'],$distribution_user_earnings);
|
||||
if(!$earnings_result){
|
||||
@ -260,7 +260,7 @@ class Gh extends Api
|
||||
// 推广会员无极佣金
|
||||
if($user['divide_state']==1){
|
||||
if($user['divide_role_user_id'] > 0){
|
||||
$electrodeless = round($earnings_electrodeless_pecent*$abutment['classify_amt']/100,2);
|
||||
$electrodeless = round($earnings_electrodeless_pecent*$abutment['classify_amt']/100/100,2);
|
||||
$distribution_user_electrodeless_earnings = AccountLog::distribution_user_electrodeless_earnings;
|
||||
$earnings_result = $earns->userElectrodelessEarnings($electrodeless,$user['divide_role_user_id'],$distribution_user_electrodeless_earnings);
|
||||
if(!$earnings_result){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user