/** * 删除分组. * * @param int $id 粉丝组自增ID * * @return Response */ public function deleteDestory($id) { /* * 1 校验自增ID */ if ($id !== (int) $id) { return '类型错误'; } /* * 2 执行本地删除操作 */ return $this->fanGroup->delete($this->account->id, $id); }