平台币收回修正

master
zhengyongxing 5 years ago
parent 546a7029cd
commit 628ea84935

@ -449,6 +449,8 @@ class PromoteCoinController extends ThinkController
$this->ajaxReturn($data); $this->ajaxReturn($data);
} }
$map['account'] = $account; $map['account'] = $account;
setPowerPromoteIds($map,'promote_id');
$user = M('user', 'tab_')->field('id,account,balance')->where($map)->find(); $user = M('user', 'tab_')->field('id,account,balance')->where($map)->find();
if (empty($user)) { if (empty($user)) {
$data['status'] = 0; $data['status'] = 0;

Loading…
Cancel
Save