Herein, we successfully prepared magnetic Co/Ni-based N-doped 3D carbon nanotubes and graphene nanocomposites (CoNi@NGC) using a simple high-temperature calcination method. The CoNi@NGC nanocomposites were used as adsorbents to study their adsorption performances and underlying kinetic mechanisms for six types of bisphenol compounds (BPs) in water. They were also used as extractants, and acid-base effervescent tablets were used to enhance extractant dispersion with the aid of vigorous CO2 bubbling. Thus, a novel pretreatment method was developed, denoted effervescent reaction-assisted dispersive solid-phase microextraction (ER-DSM), which was combined with high performance liquid chromatography-fluorescence detection (HPLC-FLD) to rapidly quantify trace-level BPs in several drinks. The morphology and structure of the CoNi@NGC adsorbent were characterized in detail using scanning electron microscopy (SEM), transmission electron microscopy (TEM), Fourier transform infrared spectroscopy (FT-IR), N2 adsorption and desorption (BET-BJH), X-ray photoelectron spectroscopy (XPS), and vibrating sample magnetometry (VSM). The CoNi@NGC nanocomposites were successfully doped with N and exhibited large specific surface areas (109.42 m2/g), abundant pores, and strong magnetic properties (17.98 emu/g).Key parameters were rigorously optimized to maximize the adsorption performance of CoNi@NGC, including adsorbent dosage, solution pH, temperature, and time. Under the constant conditions of pH=7, 5 mg of CoNi@NGC, initial BP concentrations of 5 mg/L, and 5 min of shaking at 298 K, the adsorption percentages of bisphenol M (BPM) and bisphenol A (BPA) reached respective maxima of 99.01% and 98.21%. Remarkably, those of bisphenol Z (BPZ), BPA, and BPM reached almost 100% after 90 min. The adsorption between the BPs and CoNi@NGC was mainly governed by hydrogen bonds, electrostatic interactions, and π-π conjugation. The entire adsorption process was consistent with Freundlich adsorption and a quasi-second-order kinetic equation, representing spontaneous adsorption. Via integration with HPLC-FLD, ER-DSM was used to rapidly extract and analyze trace-level BPs in six types of boxed drinks. Critical factors were optimized individually, including the type of eluent and elution time and volume, which influenced the enrichment effect. Under the optimized extraction conditions (pH=7, 5 mg CoNi@NGC, elution with 2 mL acetone for 6 min), the limits of detection and quantification of the novel extraction method were 0.06-0.20 and 0.20-0.66 μg/L, respectively. The intra- and inter-day precisions spanned the ranges 1.44%-4.76% and 1.69%-5.36%, respectively, and the recoveries in the actual samples were in the range 82.4%-103.7%. Moreover, the respective residual levels of BPA and BPB in peach juice samples were 2.09 and 1.37 μg/L. Regeneration studies revealed that the CoNi@NGC adsorbent could be reused at least five times, which significantly reduced the cost of evaluation. In summary, compared to other methods, this method displays the advantages of a high sensitivity, rapid extraction, and environmental friendliness, thereby exhibiting considerable potential for use in conventional monitoring of trace-level BPs in food matrices.