Introduction

Quercetin (3,3′,4′,5,7-penta hydroxyl flavones, QR) is widely present in food of plant origin (such as onions, apples, and tea), which has diverse biological activities such as antitumor activity, cardiovascular protection, antioxidant cataract prevention, and anticancer [1]. Because biological functions are very advantageous for human’s health, sensitive determination of QR is very crucial, especially in natural pharmaceutical chemistry, biochemistry, and clinical medicine. Compared with other analytical methods such as high-performance liquid chromatography (HPLC), fluorescence, and spectrophotometry for quantification of QR, electrochemical methods provide more advantages with low/nontoxic sensing nanomaterials, easy preparation procedure, and selective/sensitive analytical results [2,3,4,5,6]. For instance, Zhang et al. [7] developed a sensor for QR determination based on MIL-101 (Cr)/MoS2–modified glassy carbon electrode (GCE) with molecularly imprinted polymer. Sun et al. manufactured polypyrrole film based molecularly imprinted polymer with incorporated graphene oxide modified GCE for QR determination [8]. Niu et al. used three-dimensional reduced graphene oxide aerogel–modified carbon ionic liquid electrode for QR analysis [9].

As a significant subset of metal-organic frameworks (MOFs), zeolitic imidazolate frameworks (ZIFs) are formed with coordinated bonds between transition metal ions and organic ligands, which have rich nitrogen content, abundant pore structure and large surface area [10]. Among them, ZIF-8 ([Zn(2-mIm)2]n, mIm is methylimidazole) and ZIF-67 ([Co(2-mIm)2]n) are known as two representative ZIFs, which have the same zeolite-like topological structure, alike unit lattice parameters, and identical organic ligand [11]. Since ZIF-67 and ZIF-8 are isostructural, a well-defined core-shell ZIF-8@ZIF-67 nanostructure can be created by epitaxial growth. Owing to the considerably abundant nitrogen contents, high conductivity, high metal ion contents, and low cost, core-shell ZIF@ZIF crystals have been proved as good candidate and excellent precursor materials to design a particular core-shell nanostructure [12, 13]. However, the porous carbon may be easily shelled with insufficient exposure of active sites under harsh conditions. Recently, the noble metal nanoparticles@porous carbons derived from MOFs nanocomposite have been reported for electrochemical applications because the loaded noble metal nanoparticles can keep their catalytic capacity when the small active molecules diffuse in and out of the porous carbon [14, 15]. For examples, Yang et al. prepared the hollow Zn/Co ZIFs derived from ZIF-67@ZIF-8 as the semi-hydrogenation of acetylene catalyst [12]. Yang et al. fabricated the gold nanoparticles @nitrogen-doped porous carbon derived from metal nanoparticles@ZIF-8 for hydrazine electrocatalysis [15]. Chen et al. [16] prepared the Pd nanoparticles stabilized with N-doped porous carbon that derived from ZIF-8 for selective catalysis in biofuel upgrade.

Herein, we constructed a novel nanocomposite of Au-Co bimetal nanoparticles embedded in nitrogen-doped carbon nanotube hollow polyhedron (NCNHP) through a pyrolysis-reduction method derived from core-shell ZIF-8@ZIF-67 (Scheme 1). The seed ZIF-8 derived nitrogen-doped carbon (Zn will disappear when the temperature exceeds 900 °C [17]) was acted as the structured hollow with ZIF-67 formed on the surface of ZIF-8 framework to promote the diffusion kinetics [11, 18, 19]. Also many carbon nanotubes could be produced on the surface of hollow polyhedron after the carbonization treatment of ZIF-8@ZIF-67. Electrochemical measurements displayed that Au-Co@NCNHP showed outstanding performance in electrooxidation and voltammetric determination of QR. The practical applications were realized by determination of QR contents in onion and drug samples with satisfactory results.

Scheme 1
scheme 1

Schematic illustration of the synthesis process of Au-Co@NCNHP

Experimental

Reagents and apparatus

Zinc nitrate hexahydrate, cobalt nitrate hexahydrate, 2-methylimidazole, absolute methanol (MeOH), and sodium borate (NaBH4) were obtained from Shanghai Aladdin Chemical Reagent Company, China. Chloroauric acid (HAuCl4) was purchased from Guangzhou Lixin Chemical Plant, China. 0.1 mol/L phosphate buffered solutions were used as supporting electrolyte with ultrapure water (Merck Millipore, Milli-Q IQ7000, France). All the reagents were of analytical grade and used as received.

X-ray diffraction (XRD) was carried out with a D2 phaser advance diffractometer with monochromatized Cu Kα radiation (λ = 1.5406 Å, Bruker, Germany). Scanning electron microscopy (SEM) was performed on a JSM-7100F electron microscope (JEOL, Japan). Transmission electron microscopy (TEM), high resolution transmission electron microscopy (HRTEM), and high-angle annular dark-field scanning transmission electron microscopy (HAADF-STEM) elemental mapping were operated by a JEM-2100F electron microscope (JEOL, Japan). X-ray photoelectron spectrum (XPS) was performed on an Escalab 250Xi spectrometer (Thermo Scientific, America). N2 absorption-desorption isotherms were collected and calculated with Brunauer Emmett Teller-Barrett Joyner Halenda method (BET-BJH) and density functional theory (DFT). N2 adsorption-desorption experiments were carried out at 77 K on an ASAP 2020 Model (Micromeritics, America). Fourier transform infrared (FT-IR) spectrum was observed with Nicolet 6700 FT-IR spectrometer (Thermo Fisher Scientific, America). Raman spectra were recorded on a LabRAM HR Evolution (Horiba Scientific, France). The carbonization process was performed by a KMTF-1100 vacuum tube furnace (Anhui Kemi Equipment Technology, China). CHI 832B electrochemical workstation (Shanghai Chenhua Instrument, China) was applied for the electrochemical survey. A classical three-electrode system was obtained with a platinum wire as the counter electrode, Ag/AgCl (saturated KCl) as the reference electrode and the modified GCE (ϕ = 3 mm) as the working electrode. HPLC analysis was performed with an Agilent 1200 (Agilent Technologies, America) equipped with a 50-μL automatic injection loop. Chromatographic separation was performed using Agilent Diamonsil C18 column (250 mm × 4.6 mm, 5 μm, America). HPLC mobile phase was consisted of a 0.2% phosphoric acid–methanol (40:60, v/v) mixture, which was filtered through a 0.45-μm filter, followed by degassing under vacuum and passed with the flow rate of 0.5 mL/min at injection volume of 10 μL. The detection process was carried out at the ambient temperature with the detector wavelength set at 368 nm.

Synthesis of Au-Co@NCNHP

The core-shell ZIF-8@ZIF-67 was synthesized according to previous literature with minor modification [20]. ZIF-8 crystals were prepared by the mixture of Zn(NO3)2 (0.01 mol, 75 mL) and 2-mIm (0.035 mol, 75 mL) in MeOH, which was used as seeds via vacuum drying after centrifuging and washing with MeOH for thrice. Then ZIF-67 shell was formed on the prepared ZIF-8 crystals. Firstly 2-mIm MeOH solution (0.02 mol, 100 mL) was added to disperse the seeds in MeOH solution with stirring for 10 min. Then Co(NO3)2 (0.02 mol, 100 mL) MeOH solution was mixed with the above solution, and the mixture was agitated for 24 h at ambient temperature. The light purple precipitates were collected by centrifugation, washed several times with MeOH, and dried in a vacuum oven at 70 °C for 6 h.

Co@NCNHP nanocomposites were prepared by direct pyrolyzation of ZIF-8@ZIF-67 at 900 °C with a stepping rate of 2 °C/min for 3 h under Ar atmosphere in a tube furnace. For preparing Au-Co@NCNHP, 40.0 mg Co@NCNHP was dispersed in 4.0 mL ethanol/water (1:1 in volume) solution, then 0.5 mL HAuCl4 (1.3 mg/mL) solution was added under stirring and kept stirring for 4 h. Finally, the mixture was mixed with 4.0 mL NaBH4 (0.05 mol/L) solution, and the resultant black precipitate was centrifuged and washed by ethanol.

Fabrication of the modified electrode

Before modification, GCE was prepolished with Al2O3 powder (0.05 μm), then washed thoroughly with water, ethanol, and water with the aid of ultrasonication, respectively. Then 8.0 μL Au-Co@NCNHP homogeneous suspension (1.0 mg/mL) was coated onto the surface of GCE and dried overnight. For comparison, Co@NCNHP/GCE and ZIF-8@ZIF-67/GCE were prepared by the similar procedures.

Electrochemical measurements

Electrochemical impedance spectroscopy (EIS) was conducted with a 10.0 mmol/L [Fe(CN)6]3-/4- and 0.1 mol/L KCl mixture solution. Electrochemical properties of different electrodes were investigated by cyclic voltammetry (CV). The determinations of analyte were investigated by differential pulse voltammetry (DPV) in 0.1 mol/L phosphate buffered solution (pH 2.0) within the range from  -0.2 to 0.8 V.

Samples analysis

Onions were purchased from a local vegetable market and dealt with the following procedure. Firstly, onions were cut up absolutely, and 5.0 g of the resultant paste was dissolved in 50 mL ethanol under sonication for 40 min. Then the solution was centrifuged at 4000 rpm for 10 min. Finally, 1.0 mL of the supernatant liquid was attenuated to 9.0 mL with 0.1 mol/L phosphate buffered solution (pH 2.0) for electrochemical detection.

Ginkgo tablets were purchased from a pharmacy (Haikou Qili Pharmaceutical Co. Ltd., China, Z20053069) and treated by following process. Two ginkgo tablets were grinded entirely, and the resultant powder was dissolved in 10 mL ethanol under sonication for 30 min. Then the mixture liquid was filtrated and further diluted to 50 mL with ethanol, and used as medical sample.

Results and discussion

Characterization of Au-Co@NCNHP

Scheme 1 reveals the preparation process of Au-Co@NCNHP nanocomposites. SEM and TEM images (Fig. S1) illustrate that ZIF-8 and ZIF-8@ZIF-67 display well-defined rhombic dodecahedral shape with smooth surfaces and uniformly dispersed size. After carbonization, Co@NCNHP shows hollow polyhedron shape with coarse surface settled with plenty carbon nanotubes (Fig. S2A–D). During this carbonization process, the released gas helps Zn2+ to move out, and promotes the formation of hollow polyhedron. After subsequent reduction of HAuCl4 in boric acid, Au nanoparticles are formed on the surface of Co@NCNHP to get Au-Co@NCNHP. SEM (Fig. 1a, Fig. S2E and 2F) and TEM (Fig. 1c–e) images show that the hollow polyhedron made of carbon nanotube also keeps and displays high porosity. HAADF-STEM (Fig. 1b) and energy-dispersive X-ray spectroscopy (EDS) elemental mapping images (Fig. 1g) illustrate that C, N, Co, and Au elements are evenly distributed over the entire NCNHP. The HRTEM images of Au-Co@NCNHP (Fig. 1d and f) display the average diameter of carbon nanotubes as 5.5 nm (n = 10) and the average diameter of nanoparticles as 15 nm (n = 15).

Fig. 1
figure 1

a SEM, the inset was the magnified image; b HAADF-STEM elemental mapping; c and e TEM; d and f HRTEM; g EDS of Au-Co@NCNHP

Figure 2a shows the XRD patterns of ZIF-8@ZIF-67, Co@NCNHP, and Au-Co@NCNHP, respectively. The characteristic peaks of ZIF-8 nearly match the literature results [21]. XRD pattern of Co@NCNHP reveals four peaks located at 25.9°, 44.1°, 51.4°, and 75.9°; indexes to (002) diffractions of graphitic carbon; and (111), (200), and (220) lattice planes of Co. XRD pattern of Au-Co@NCNHP shows the peaks at 38.2°, 44.4°, 64.6°, and 78.8°, corresponding to (111), (200), (220), and (311) facets of Au [22]. Furthermore, the structures of ZIF-8@ZIF-67, Co@NCNHP, and Au-Co@NCNHP were investigated by using Raman spectroscopy (Fig. 2b). Raman spectrum of ZIF-8@ZIF-67 displays four peaks located at 176, 465, 515, and 677 cm−1, corresponding to characteristic lines of the Co(Zn)-N, Co-O-Co, Zn-O-Zn, and 2-mIm ring. The peaks of Co@NCNHP and Au-Co@NCNHP around 1314 cm−1 and 1584 cm−1 can be assign to D and G band, respectively [23]. Remarkably, the intensity ratio of these bands (ID/IG), which reflects the unordered carbon material, is 0.78 (Co@NCNHP) and 0.98 (Au-Co@NCNHP). These reveal a low graphitic crystallinity of Au-Co@NCNHP. Figure 2c presents the FT-IR spectra of the ZIF-8@ZIF-67 precursor and the as-prepared samples. Although the spectra of each NCNHP are complicated, the samples of Co@NCNHP and Au-Co@NCNHP show a similar FT-IR spectrum. As listed in Table S1, all these peaks are assigned to the usual functional groups of materials.

Fig. 2
figure 2

a XRD pattern; b Raman spectra; c FT-IR spectra; d survey XPS spectra; e C 1s; f N 1s; g Zn 2p; h Co 2p, and i Au 4f fitting of samples

The composition of as-prepared nanocomposites was recorded by XPS, as shown in Fig. 2d. Full surveys of ZIF-8@ZIF-67, Co@NCNHP, and Au-Co@NCNHP involve C 1s, N 1s, O 1s, Co 2p, Zn 2p, and Au 4f peaks. The pyrolyzation of ZIF-67@ZIF-67 to Co@NCNHP can be mainly confirm by the presence of C1s peak (Fig. 2e), which have four carbon atomic components including C=C (284.6 ± 0.2 eV), C=N (285.2 ± 0.2 eV), C-O (285.8 ± 0.2 eV), and O=C-N (288.1 ± 0.2 eV), which has a considerable decrease in the degree of carbonization compared with the ZIF-67@ZIF-67 precursor [24]. The C 1s peak mainly assigns to the C=C, indicating the efficient carbonization of ZIF-67@ZIF-67. The chemical states of N and Co in the sample were also examined. After carbonization, four N-types including N-O (402.8 ± 0.2 eV), C=N (401.0 ± 0.2 eV), pyrrolic (400.0 ± 0.2 eV), and pyridinic (398.4 ± 0.2 eV) can be distinguished from N 1s spectrum (Fig. 2F) [25]. Furthermore, no signal peak can be found from the Zn 2p spectrum of Co@NCNHP and Au-Co@NCNHP (Fig. 2g), which display that Zn element had been evaporated absolutely. For the high-resolution spectrum of Co 2p (Fig. 2h), two major peaks with binding energies at 797.3 ± 0.2 eV and 780.3 ± 0.2 eV are characteristics of Co 2p1/2 and Co 2p3/2, respectively [26]. As shown in Fig. 2i, the Au 4f spectrum is contained a doublet at binding energy of 84.0 eV and 87.6 eV, which are assigned to Au 4f7/2 and 4f5/2 lines, respectively. These values are clearly indicated that Au nanoparticles are still in metallic form.

The surface area of Au-Co@NCNHP (Fig. 3a, Table S2) is much smaller than that of ZIF-8@ZIF-67 (Fig. S3A and S3B), attributing to the dismounting of the well-defined micropores. Pore size distributions of Co@NCNHP and Au-Co@NCNHP exhibit type IV isotherm, showing the presence of both micropores and mesopores (Fig. 3b, S3C and S3D). The presence of porous structure can allow electrolyte to reach the active sites and simultaneously improve the catalytic efficiency [27].

Fig. 3
figure 3

N2 adsorption-desorption isotherm a and pore size distribution curves b of Au-Co@NCNHP

Electrochemical investigations

The effective surface area (A) of the electrode can be calculated by the Randles-Sevcik expression [Ip = (2.69 × 105) n3/2AD1/2C0υ1/2] with the slope of Ip vs. υ1/2. As for Au-Co@NCNHP/GCE, the A value was found as 0.194 cm2, which was 1.4 times larger than that of bare GCE (0.134 cm2). Therefore, the increase of the effective surface area using Au-Co@NCNHP is attributed to the porous structure of NCNHP, the high conductivity of bimetal structure, and their synergistic effects in facilitating the diffusional process of [Fe(CN)6]3−/4- through the channel formed on the electrode surface.

Electrochemical behaviors of 100.0 μmol/L QR on different electrodes were studied by CV in pH 2.0 phosphate buffered solution at the scan rate of 0.1 V/s. On GCE (Fig. 4a, curve a) and ZIF-8@ZIF-67/GCE (Fig. 4a, curve b), the redox peaks are smaller. On Co@NCNHP/GCE (Fig. 4a, curve c) two anodic peaks occur at the potentials of 0.47 V (A1) and 0.59 V (A2), which are assigned with oxidation of the two hydroxyl groups of QR. Two cathodic peaks at 0.44 V (C1) and 0.57 V (C2) corresponding to reduction of the oxidation products can also be observed [28]. On Au-Co@NCNHP/GCE, biggest redox peaks can be found (Fig. 4a, curve d), which display that Au nanoparticles and Co@NCNHP have synergistic effects in QR electrochemical reaction. Au nanoparticles have excellent conductivity with catalytic activity, and Co@NCNHP has large active sites with high porosity. Therefore the combination of Au nanoparticles and Co@NCNHP lead to the changes of the electronic structure with the electron transfer rate enhanced, and the resulted sensitive current responses [22].

Fig. 4
figure 4

a CV of 100.0 μmol/L QR on GCE (a), ZIF-8@ZIF-67/GCE (b), Co@NCNHP/GCE (c) and Au-Co@NCNHP/GCE (d) in pH 2.0 phosphate buffered solutions at the scan rate of 0.1 V/s; b CV of 100.0 μmol/L QR on Au-Co@NCNHP/GCE with different pH phosphate buffered solutions (a-g: 1, 2, 3, 4, 5, 6, 7) at the scan rate of 0.1 V/s; c Relationships of E0′ and Ipa with pH; d CV of 100.0 μmol/L QR on Au-Co@NCNHP/GCE at different scan rates in pH 2.0 phosphate buffered solutions (a–j: 0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 V/s); e DPV curves of QR with different concentrations in pH 2.0 phosphate buffered solutions (a–m: 0.05, 5.0, 10.0, 15.0, 20.0, 25.0, 30.0, 35.0, 40.0, 50.0, 60.0, 70.0, and 80.0 μmol/L); f The relation between Ipa and QR concentration

The solution pH has strong effect on the electrochemical behavior of QR on the Au-Co@NCNHP/GCE, which was studied at the scan rate of 0.1 V/s. As seen from Fig. 4b, two oxidation peaks (A1 and A2) appear, which are due to the electrooxidation of QR molecules, and the o-quinone is easily formed at lower pH range of phosphate buffered solution (1~4). But excessively higher pH (5~8) is disadvantageous to the formation of o-quinone and the electron transfer can be hampered. The oxidation peak (A1) potentials (Epa1) are shifted negatively with the increase of pH, indicating that protons participate in electrochemical reaction. The oxidation peak currents (Ipa1) of QR are increased with the pH value from 1.0 to 2.0, and then decreased as the further increasing of pH (Fig. 4c). At pH 2.0 the largest Ipa1 value appears, which is selected as the optimum buffer pH with enough protons provided. The linear regression equation of E0’ with pH is achieved as E0’ (V) = (0.599 ± 0.006)–(0.050 ± 0.001) pH. The slope value (50 mV/pH) is close to 59 mV/pH, illustrating an equal proton-electron transfer electrode process [29].

As observed from Fig. 4d, the effect of different scan rates (50 to 900 mV/s) on the peak (A1 and C1) current of 100.0 μmol/L QR was investigated in phosphate buffered solution (pH 2.0) at Au-Co@NCNHP/GCE. The redox peak currents are increased linearly with the square root of scan rate (ν1/2), and the equations are expressed as Ipa (μA) = (− 269.2 ± 8.9) ν1/2 (V/s)1/2 + (53.6 ± 4.2) and Ipc (μA) = (139.3 ± 4.5) ν1/2 (V/s)1/2–(15.6 ± 2.2) (Fig. S4A). These results show that electrochemical process of QR is predominantly diffusion-controlled process [30]. At the same time, the anodic/cathodic peak potential (Epa/Epc) shift positively/negatively with increasing scan rate. As shown in Fig. S4B, Ep and ln ν have linear relationships as Epa1 (V) = (0.0728 ± 0.0026) ln ν + (0.682 ± 0.002) and Epc1 (V) = (− 0.0561 ± 0.0015) ln ν + (0.372 ± 0.001), respectively. From Laviron’s equation [31], electrochemical parameters were calculated with electron transfer number (n) as 1.22, electron transfer coefficient (α) as 0.56, and heterogeneous electron transfer rate constant (ks) as 0.89 s−1. The ks data is larger than some reported values such as on multiwalled carbon nanotube-paraffin oil paste electrode (0.546 s−1) [29], graphene modified electrode (5.19 × 10−6 s−1) [32] and gold nanoparticles-graphene modified electrode (0.25 s−1) [33], illustrating a faster transfer rate with Au-Co@NCNHP as the modifier and the enhancer. Therefore the high conductive Au-Co bimetal decorated NCNHP can provide a fast electron transfer interface for QR to take place the reaction. The possible consecutive electrooxidation mechanism of QR could be expressed in Scheme 2.

Scheme 2
scheme 2

Consecutive electrooxidation mechanism of QR

Figure 4e shows the DPV curves for the analysis of standard QR solutions under optimized conditions. At low QR concentrations, small changes in concentration can cause significant changes in current response due to the presence of diffusion effects. Furthermore, QR can be rapidly depleted as substrate to convert into o-quinone at the local concentration of the electrode surface. At high QR level, the electrode surface may be saturated with large changes in concentration caused small changes in current responses [7, 34, 35]. The dependence of Ipa on QR concentration is plotted from 0.050 to 35.00 μmol/L with the linear regression equation of Ipa (μA) = (1.066 ± 0.023) C (μmol/L) + (0.027 ± 0.003) (Fig. 4F). The limit of detection is 0.023 ± 0.002 μmol/L (3σ). From the calibration curve, the sensitivity is obtained as 5.49 μA·(μmol/L)−1·cm−2. Compared with other different modified electrodes for QR analysis, the resultant Au-Co@NCNHP/GCE presents higher sensitivity and wider linear range (Table S3).

Anti-interference, reproducibility, and stability

In order to assess the anti-interferences of Au-Co@NCNHP/GCE toward the QR analysis, we investigated the electrochemical behaviors of different potentially interfering compounds such as glucose (0.1 mmol/L), glycine (0.1 mmol/L), citric acid (0.1 mmol/L), ascorbic acid (0.1 mmol/L), uric acid (0.1 mmol/L), dopamine (0.05 mmol/L), rutin (0.01 mmol/L), lutcolin (0.01 mmol/L), baicalin (0.01 mmol/L), KCl (1.0 mmol/L), CoCl2 (1.0 mmol/L), and NaNO3 (1.0 mmol/L) with 10.0 μmol/L QR. It can be observed that the current peaks of QR are not obviously altered, which indicates that this sensor possesses good anti-interferences ability (Table S4). The repeatability of this sensor was measured by 10.0 μmol/L QR with six Au-Co@NCNHP/GCEs fabricated independently. The relative standard deviation (RSD) of ten times successive detection with RSD of the same electrode is 2.8%, and six Au-Co@NCNHP/GCE is 6.4%. The results illustrate that the modified electrode has good reproducibility. The modified electrode is stored in refrigerator at 4 °C, and after 7 days storage the response current to 10.0 μmol/L QR are retained 97.2% of its original value with RSD as 3.8%, which reflects the good stability of Au-Co@NCNHP/GCE.

Samples detection

In order to evaluate the practical utility of the present method, onions and drug samples were analyzed by using Au-Co@NCNHP/GCE via DPV. Onions are ranked highest in QR content in a survey of 28 vegetables and 9 fruits [36, 37]. The amount of QR in onions varies depending on bulb color and type, which is distributed mostly in the outer skin and rings [38]. The QR contents in onions and ginkgo tablets were determined, and the results are summarized in Table 1, which showed satisfactory data and recovery value. Also, a reported HPLC procedure for the QR analysis in onions samples was performed according to the reference 39, which gave the value of 1.13 ± 0.05 μmol/L. The result is closely agreement with the electrochemical data, indicating the practical application of this modified electrode.

Table 1 Determination results of QR in real samples (n = 3)

Conclusion

In this paper, a novel sensing platform for QR was fabricated based on an Au-Co@NCNHP nanocomposite modified GCE. Core-shell ZIF-8@ZIF-67 was synthesized by colloidal chemical procedure, which was carbonized to get a Co@NCNHP with shape of carbon nanotube hollow polyhedron. Then Au nanoparticles were further formed on surface and core of Co@NCNHP by reduction of boric acid to obtain an Au-Co bimetal decorated NCNHP (Au-Co@NCNHP). Because NCNHP had large specific surface and high porosity, and Au-Co bimetal had high conductivity with strong electrocatalysis, the composite exhibited synergistic effects including large specific surface area, and high electrochemical activity toward QR. However, flavonoids compound with similar structures may lead to the interference due to the close peak potential. The ginkgo tablet and onions samples were detected successfully, which displayed the practical applications of the sensor by using Au-Co@NCNHP/GCE.