Surgery is the mainstay of treatment modality for malignant melanoma. However, the deteriorative hypoxic microenvironment after surgery is recognized as a stemming cause for tumor recurrence/metastasis and delayed wound healing. Here we design and construct a sprayable therapeutic hydrogel (HIL@Z/P/H) encapsulating tumor-targeted nanodrug and photosynthetic cyanobacteria (PCC 7942) to prevent tumor recurrence/metastasis while promote wound healing. In a postsurgical B16F10 melanoma model in female mice, the nanodrug can disrupt cellular redox homeostasis via the photodynamic therapy-induced cascade reactions within tumor cells. Besides, the photosynthetically generated O