@@ -61,7 +61,7 @@ class Money extends Common
$this->error('金额必须是整数');
}
if ($this->auth->power->recharge == 1) {//禁止充值
- throw new Exception('禁止充值');
+ $this->error('禁止充值');
$user_id = $this->auth->id;
// 获取充值金额配置信息