|
@@ -61,7 +61,7 @@ class Money extends Common
|
|
|
if ($this->auth->is_auth != 2) {//实名后允许充值
|
|
|
throw new Exception('请先实名认证');
|
|
|
}
|
|
|
- if ($this->power->recharge == 1) {//禁止充值
|
|
|
+ if ($this->auth->power->recharge == 1) {//禁止充值
|
|
|
throw new Exception('禁止充值');
|
|
|
}
|
|
|
$user_id = $this->auth->id;
|
|
@@ -154,7 +154,7 @@ class Money extends Common
|
|
|
}
|
|
|
|
|
|
// 查询新人礼包
|
|
|
- $this->addBagGift($user_id, $amount);
|
|
|
+ //$this->addBagGift($user_id, $amount);
|
|
|
|
|
|
/*if ($method == "app") {
|
|
|
$this->success("", json_decode($result, true));
|