The present invention relates to derivatives of berberine dimer analog JJA-D0 or pharmaceutically acceptable salts, preparation methods and uses thereof. The compound has the structure of general formula (I). The present invention introduces hydrocarbon groups, aryl groups, heteroaryl groups, alkoxycarbonyl groups, acyl groups, sulfonate groups, antioxidant groups such as lipoic acid groups, H 2 S donor groups such as cysteinyl, NO donor groups such as nitrate groups, etc., synthesized and disclosed a series of compounds with new structures. These compounds can inhibit NADPH oxidase, and have a better anti-oxidation and anti-inflammatory dual pharmacological mechanism than berberine. Some of these compounds can also provide NO, H 2 The donor group of S can further enhance the pharmacological activity, and it is a new class of multifunctional compound. The disclosed JJA-D0 derivatives can be used to prevent or treat diseases related to NADPH oxidase, diseases related to free radicals, diseases related to inflammation, diseases related to NO, diseases related to H 2 Preparation of health products or medicines for S-related diseases.