This study aims to compare the analgesic effect of intertransverse nerve block and paravertebral nerve block after endoscopic hepatectomy, evaluate its effectiveness and safety, and provide new ideas and clinical basis for postoperative pain management of liver surgery.