By enriching cross genes in liver cancer, we found that licorice flavonoids pass through the NF-κB signaling pathway, central carbon metabolism in cancer, and PDL1 expression and PD1 checkpoint pathway in cancer to exert their anti-hepatoma effects. The gene discussed is CD274; the disease is hepatocellular carcinoma.