Diabetic foot (DF) is difficult to heal due to the formation of drug-resistant bacterial biofilms and dysregulation of the wound microenvironment. To solve this problem, multifunctional hydrogels were prepared by in situ or spraying with 3-aminophenylboronic acid modified oxidized chondroitin sulfate (APBA-g-OCS), polyvinyl alcohol (PVA) and black phosphorus/bismuth oxide/ε-polylysine (BP/Bi2O3/ε-PL) as precursors for promoting infected diabetic wounds healing. The hydrogels display multiple stimulus responsiveness, strong adhesion and rapid self-healing ability owing to the dynamic borate ester bonds, hydrogen bonds and π-π conjugation cross-link points, remain synergistic chemo-photothermal antibacterial effect and anti-biofilm formation ability due to the doping of BP/ Bi2O3/ε-PL into the hydrogel by dynamic imine bonds crosslinking and possess anti-oxidation and inflammatory chemokine adsorption ability attributing to the presence of APBA-g-OCS. Most importantly, as a result of the above functions, the hydrogels can not only respond to the wound microenvironment to conduct combined PTT and chemotherapy for efficient anti-inflammation, but also improve the wound microenvironment by scavenging ROS and regulating the expression of cytokines, thus further accelerating collagen deposition, promoting granulation tissue formation and angiogenesis, finally promoting the healing of infected wounds in diabetic rats.