|
|
@@ -66,9 +66,8 @@ class CommonLogic
|
|
|
$income = bcmul($num, config('team_level_inc'), 2);
|
|
|
//余额记录
|
|
|
foreach($paths as $pathId){
|
|
|
- if(!empty(Loader::model('UserModel')::getTeamLevelId($pathId)))
|
|
|
- {
|
|
|
- Loader::model('LedgerWalletModel')->changeWalletAccount($pathId, $asset, $income, $action, $user_id, true);
|
|
|
+ if(!empty(Loader::model('UserModel')::getTeamLevelId($pathId))) {
|
|
|
+ Loader::model('LedgerWalletModel')->changeWalletAccount($pathId, $asset, $income, $action, $user_id);
|
|
|
}
|
|
|
}
|
|
|
}
|