平台币转移

master
sunke 5 years ago
parent 4f27c2fb29
commit 5241f98c68

@ -661,7 +661,7 @@ class PromoteCoinController extends BaseController
$promote = $this->getLoginPromote(); $promote = $this->getLoginPromote();
$map = ['chain' => ['like', $promote['chain'] . $promote['id'] . '/%']]; $map = ['chain' => ['like', $promote['chain'] . $promote['id'] . '/%']];
$promoteIds = D('Promote')->field('id')->where($map)->getField('id', true); $promoteIds = D('Promote')->field('id')->where($map)->getField('id', true);
$promoteIds[] = $id; $promoteIds[] = $promote['id'];
if ($account) { if ($account) {
$map['account'] = ['like', '%' . $account . '%']; $map['account'] = ['like', '%' . $account . '%'];
} }

Loading…
Cancel
Save