The invention relates to the technical field of harmful substance detection, in particular to a preparation method and application of a magnetic organic covalent framework material for extracting
pyrethroid pesticide in peanuts, and the preparation method comprises the following steps: step 1, dropwise adding an iron
standard solution into a NaOH solution, stirring to react, cooling to
room temperature after the reaction is finished, then dropwise adding a
sodium citrate solution, mechanically stirring, and filtering to obtain a filtrate; magnetically separating a product, washing and
drying to obtain Fe3O4 nanoparticles; step 2, mixing the Fe3O4 nanoparticles, DVA, TA, TAPT and
acetonitrile, performing ultrasonic treatment, then adding
acetic acid, oscillating the mixture, and then stirring and refluxing; the product is washed and dried, and COF coated Fe3O4 is obtained; step 3, uniformly dispersing COF coated Fe3O4 in an
acrylamide solution, and then irradiating by a
xenon lamp; and washing and
drying the product to obtain the magnetic organic covalent framework material PAM-COF coated Fe3O4. The PAM-COF coated Fe3O4 material prepared by the preparation method disclosed by the invention can realize efficient extraction of various
pyrethroid pesticides at the same time, and has relatively strong matrix anti-interference capability and excellent enrichment and purification performance.