If the two-person ticket you purchased on Ctrip allows you to watch the fireworks at night and then leave the park, it is usually OK. However, the specific situation depends on the specific ticket type you purchased and the regulations of the attraction. It is recommended that you consult the attraction or check the ticket instructions before entering the park to ensure you understand the relevant regulations.