|
@@ -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->success("", json_decode($result, true));
|