Inclusion Criteria:  Signed the informed consent before the test, and fully understood the test content, process and possible adverse reactions; And able to complete the research according to the requirements of the test protocol; Subject (including partner) is willing to voluntarily take effective contraceptive measures within 10 weeks from screening to the last study drug administration. For specific contraceptive measures, see Appendix 1; Age 18-65 (including threshold), male and female; The weight of male subjects should not be less than 50 kg, and that of female subjects should not be less than 45 kg. Body mass index (BMI) : 18~32 kg/m2 (including critical value); For subjects with normal liver function, normal or abnormal clinical laboratory tests (blood routine, blood biochemistry, urine routine, coagulation function) have no clinical significance;  Subjects with normal liver function: no previous serious primary diseases of important organs, including but not limited to gastrointestinal, respiratory, kidney, liver, nervous, blood, endocrine, tumor, immune, mental or cardiovascular diseases.  For subjects with impaired liver function, the following inclusion criteria should also be met:  Those who have not taken medication within 4 weeks prior to screening, or who require long-term treatment for liver damage and/or other comorbidities, have taken stable medication for at least 4 weeks; Patients with child-Pugh grade A or B hepatic dysfunction resulting from previous primary liver disease.  Exclusion Criteria:  Allergic disposition, or known or suspected allergy to any of the ingredients in the study drug; Smoked more than 5 cigarettes per day on average within 3 months before screening; Average daily alcohol intake in the 3 months prior to screening exceeds the following criteria: 15g (e.g., 145 mL wine, 497 mL beer or 43 mL low-alcohol liquor) for women and 25g (e.g., 290 mL wine, 994 mL beer or 86mL low-alcohol liquor) for men; A history of drug abuse within 3 months prior to the screening period; Those who donated blood or lost blood ≥400 mL or received blood transfusion within 3 months prior to screening; Major surgery or surgical incision not completely healed within 6 months prior to screening; Taking Chinese herbal medicine within 2 weeks before administration; Have a malignant tumor, or have a history of malignant tumor in the 5 years prior to screening (excluding treated skin non-melanoma with no signs of recurrence, and excised cervical intraepithelial neoplasia); Systolic blood pressure > 160 mmHg or diastolic blood pressure > 100 mmHg at screening time; Female subjects are lactating or have positive serum pregnancy results during the screening period or during the test; For subjects with normal liver function: participants in clinical trials of any drug or medical device within 3 months prior to screening; For subjects with impaired liver function: participants in clinical trials of any drug or medical device within 1 month prior to screening; Patients whose ECG abnormality is clinically significant (e.g., tachycardia/bradycardia requiring medical treatment, degree II-III ATrioventricular block, or prolonged QTcF interval (males ≥470 ms, females ≥480 ms) (corrected according to Fridericia's formula) and determined by clinicians to be unsuitable for this study; Creatinine clearance (CLcr, calculated by Cockcroft-Gault formula, Appendix III) ≤60 mL/min; Subjects with normal liver function: those who are positive for hepatitis B surface antigen, hepatitis C antibody or hepatitis C core antigen, HIV antibody or syphilis antibody screened are excluded; Screening for positive urine drugs (morphine, cannabis); Within 1 day before administration, those who have eaten any food or drink containing alcohol (or positive breath test for alcohol), grapefruit juice/grapefruit juice, methylxanthine (such as coffee, tea, cola, chocolate, energy drink), strenuous exercise or other factors affecting drug absorption, distribution, metabolism, excretion, etc.; Patients who are expected to be prone to surgery or hospitalization during the study period;  Any factors that the investigator considers inappropriate for participation in this study.  Supplementary exclusion criteria for subjects with liver function impairment (exclusion if meeting 1 of these criteria) :  History of liver transplantation; Subjects with liver failure or cirrhosis with hepatic encephalopathy, hepatocellular carcinoma, esophageal and gastric variceal hemorrhage and other complications deemed unsuitable for the study by the investigator; In addition to the primary liver disease itself, has a history of any serious illness, or history of researchers think that may affect the test results and/or anomalies have clinical significance of clinical laboratory tests, including but not limited to the circulatory system, endocrine system, nervous system, digestive system, urinary system, or blood, immune, spirit and metabolic disease. HIV antibody screening positive; If syphilis antibody is positive, rapid plasma rereaction test (RPR) should be added. If RPR is positive at the same time, it should be excluded. Alpha-fetoprotein > 50 ng/mL; Or neutrophil count (ANC) ≥0.75×109/L (1,500/mm3); Or Hgb ≤7.0 g/dL (90 g/L); Or ALT and AST ≥10 times the upper limit of normal (ULN) were excluded.