The invention provides an application of macleyine alkaloid and its pharmaceutically acceptable salt, a salvation object, a polycrystalline object, an enantiomer or racemic mixture salt, a polycrystalline object, an optical isomer, a racemate , corydalis tuber containing macleyine alkaloid and its extract product, corydalis amabilis and its extract product, and macleaya cordata and its extract product in preparation of medicine for inhibiting P-gp. The invention provides an application of macleyine alkaloid and its pharmaceutically acceptable salt, the salvation object, the polycrystalline object, the enantiomer or racemic mixture salt, the polycrystalline object, the optical isomer, the racemate , corydalis tuber containing macleyine alkaloid and its extract product, corydalis amabilis and its extract product, and macleaya cordata and its extract product in preparation of medicine for auxiliary treatment of tumour. The auxiliary treatment of tumour is capable of reversing tumour multidrug resistance relative to high expression of P-gp, and is cooperated for synergizing antitumor drugs.