Phenyl-substituted mercaptotetrazole heterocyclic compound with highly reactive sulfhydryl group; the tetrazole ring owns excellent coordination capacity, easy to undergo oxidation, salt formation, coupling and cyclization reactions, good thermal stability and strong complex adsorption to metal ions.