public function weixinDelete() { $id = intval(I('get.id')); if (empty($id)) { $this->error('访问错误'); } $a = new Account(); $account = $a->getAccount($id, Account::ACCOUNT_ALIPAY); if (empty($account)) { $this->error('访问错误'); } $a->remove($id); $this->success('删除成功'); exit; }