The surface resonance scattering of silver nanoparticles, commonly used to enhance the matrix of the Raman, is the most active of all metal nano particles which can greatly improve the sensitivity of the detected molecules. At the same time, the sterilization ability of silver is also highly recommended in the field of biology. In this study, cytosine nucleoside was used as a template to quickly synthesize silver-based composite nanomaterials (Ag–C/Au) with enhanced fluorescence and good water solubility. Then, the fluorescence spectrum, lifetime, the ultraviolet-visible absorption spectrum of the material, and the size and shape of the grain size were studied through characterization. After that, the interaction between the silver-based composite nanomaterial Ag–C/Au and the recombinant protein ephrin-b2 was studied by spectroscopy, and the mixed metalloprotein was used for electrocardiogram treatment of myocardial infarction in SD rats to establish a rat modeling, then the rats were grouped according to the different injections, and the heart rhythm variability (HRV) of different groups of rats with myocardial infarction (MI) was recorded. Finally, the program electrical stimulation (PES) was used to analyze the ventricular effective refractory period (VERP) and ventricular arrhythmia (VAs) in rats. In the experiment, Ag–C/Au nanomaterials produced strong yellow fluorescence under 370 nm ultraviolet excitation, with an approximate particle size of 1.6 nm; through spectral data fitting, it was found that the recombinant protein ephrin-b2 could be adsorbed on the surface of the composite nanomaterials, making the intensity of the characteristic peak decreased; the myocardial indicators of myocardial infarction rats based on ephrin- b2 + Ag–C/Au group were significantly improved, while the grouping of rats using Ag–C/Au alone didn't affect the electrophysiological characteristics after myocardial infarction, that is, ephrin-b2 could improve arrhythmia after myocardial infarction, and the improvement effect would be further strengthened when Ag–C/Au was added.