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