public function restore($id);
/** * Restore the user. * * /users/restore/{id} put * * @param integer $id * * @return \Illuminate\Http\JsonResponse */ public function restoreUser($id) { $this->users->restore($id); return $this->responseJson(['message' => '恢复成功']); }