|
|
@ -234,6 +234,10 @@ class PromoteService {
|
|
|
|
$ids = array_keys($subPromotes);
|
|
|
|
$ids = array_keys($subPromotes);
|
|
|
|
// $ids[] = $promote['id'];
|
|
|
|
// $ids[] = $promote['id'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (count($ids) == 0) {
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$promoteCoins = [];
|
|
|
|
$promoteCoins = [];
|
|
|
|
$balances = M('PromoteBalanceCoin', 'tab_')->where(['promote_id' => ['in', $ids]])->select();
|
|
|
|
$balances = M('PromoteBalanceCoin', 'tab_')->where(['promote_id' => ['in', $ids]])->select();
|
|
|
|
|
|
|
|
|
|
|
|