/** * 删除公众号. * * @param ineger $id 公众号iD */ public function getDestroy($id) { $this->accountRepository->destroy($id); return redirect(admin_url('account'))->withMessage('删除成功!'); }
/** * 删除公众号. * * @param ineger $id 公众号iD */ public function getDestroy($id) { $this->accountRepository->destroy($id); return responseSuccess('删除成功'); }