The invention provides a pyrazolopyrimidine compound shown as a structural formula (I), a pharmaceutical composition taking the pyrazolopyrimidine compound as an active component, a preparation method of the pyrazolopyrimidine compound and the pharmaceutical composition as well as an application of the pyrazolopyrimidine compound and the pharmaceutical composition in preparation of a TRPC6 (Transient Receptor Potential Channel 6) adjustor probe medicine and related medicines for preventing and treating glomerulopathy and myocardial hypertrophy. The pyrazolopyrimidine compound and derivatives provided by the invention can be used to prepare medical preparations in various forms which comprise oral liquids, injections, pulmonary inhalation preparations and transdermal preparations, specifically injections, oral liquids, troches, capsules, granules, aerosols, dry powder inhalation, patches and the like.