The present invention provides proto-opioid alkaloids and pharmaceutically acceptable salts, solvates, polymorphs, enantiomers or racemic mixture salts, polymorphs, optical isomers, racemates, and Application of Corydalis Corydalis and its extracts containing proto-opioid alkaloids, Xia Wu and its extracts, Boluohui and its extracts in the preparation of drugs for inhibiting P-gp function. The present invention also provides proto-opioid alkaloids and pharmaceutically acceptable salts, solvates, polymorphs, enantiomers or racemic mixture salts, polymorphs, optical isomers, and racemates, And the application of Corydalis Corydalis and its extracts containing original opioid alkaloids, Xia Wu and its extracts, Boluohui and its extracts in the preparation of drugs for adjuvant tumor treatment, the adjuvant tumor treatment refers to the reversal of the combination of P ‑Gp high expression related tumor multidrug resistance, synergistic antitumor drugs.