The mechanism of action revealed that the precise accumulation and release of drugs via the tumor-orchestrated delivery system not only regulated cell growth and immune activation, but also inhibited the expression of tumor immune escape molecules (PDL1 and CD47) and M2 macrophage polarization, significantly increasing the anti-breast cancer and anti-melanoma effects of PDT in the presence of an epigenetic modifier. The gene discussed is CD47; the disease is breast cancer.