After enrollment, patients will be randomized into treatment or control groups. Patients received Azvudine orally, for 7 consecutive days (7 doses in total) or Paxlovid orally for 5 consecutive days (10 doses in total). The test for RT-PCR test through either nasopharyngeal or oropharyngeal swabs were conducted on a daily basis from day 3 of their hospitalization until conversion was observed. The primary outcome was the proportion of patients acheive 2 continuously RT-PCR negative for SARS-CoV-2 at 7 days following treatment initiation, including both ORF gene Ct value≥35 and N gene Ct value≥35. Secondary outcomes included 1) the proportion of patients RT-PCR negative for SARS-CoV-2 at 14 days; 2) the time to conversion from a positive RT-PCR test to 2 continuously negative test; 3) 14-day treatment failure rate (need mechanical ventilation or high-flow oxygen therapy or death).