修改bug

master
ELF 5 years ago
parent 73cd26c1a4
commit 6cdee448c0

@ -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();

Loading…
Cancel
Save