A fluorescent probe for the detection of Cu2+ was synthesized using 2-picolinic acid and (E)-2-(benzo[d]thiazol-2-yl)-3-(6-hydroxynaphthalen-2-yl) acrylonitrile after esterification and identified by 1H NMR, 13C NMR and HRMS. The fluorescence performance test results show that the fluorescent probe can recognize Cu2+ with high sensitivity and high selectivity. The detection concentration ranges of Cu2+ is 0 ~ 200 μmol/L, and the detection limit is 17 nmol/L. This probe has been successfully used to detect the content of Cu2+ in wine and beer, and its recovery rate is 90.00% ~ 108.30%. This study provides a reference for the development of Cu2+ detection methods with good recognition performance and strong practicability.