The two-dimensional black phosphorus nanosheets (BPNSs) provide strong support for the construction of nanozymes with high catalytic performance due to the sheet structure and high electronic activity. A peroxidase-like BP-Pt nanocomposites was successfully synthesized using the instability of BPNS, a non-enzymatic immunosensing assay (NISA) was established with BP-Pt as immunosensing probe. Take the antibiotic enrofloxacin (ENR) as the target, NISA realized the highly sensitive ENR detection with detection limit (IC15) of 0.005 μg/L. In addition, based on the good photothermal performance of oxTMB at 808 nm, a photothermal immunosensing assay (PT-NISA) was established, and ENR detection results was similar to NISA were obtained. In the analysis of the samples, the same detection results as the commercially available enzyme-linked immunoassay kit were obtained. These NISA and PT-NISA provide a more rapid and promising strategy for detecting food contaminants, and was expected to be used to detect other highly sensitive biological macromolecules.