The nanogel photodynamically killed tumor cells, and inhibited PD-L1 expression in tumor cells, thereby synergistically increasing the antitumor immune response. The gene discussed is CD274; the disease is neoplasm.