Finally, the PPI network and molecular docking results showed that PTGS2 and MMP9 were potentially important targets for the inhibition of GC by Banxia-Shengjiang drug pair, while cavidine was an important active ingredient for the inhibition of GC by Banxia-Shengjiang drug pair. This evidence concerns the gene PTGS2 and gastric cancer.