To observe the sedative effect and safety of remiazolam combined with small dose of esketamine in painless bidirectional endoscopy in children, and to provide a more reasonable and safe sedative and analgesic regimen for children's gastrointestinal endoscopy.