The invention discloses condensed heteroaryl derivatives, and a preparation method and application thereof. The derivatives are phosphatidylinositol-3-kinase (PI3K) inhibitors, and have good PI3K inhibiting effect and cancer cell proliferation inhibiting effect, so that the condensed heteroaryl derivatives can be used for treating therapeutic agents for tumors.