The constructed sandwich immunosensor could detect the cancer marker alpha fetoprotein (AFP) of primary liver cancer in the wide linear range of 0.1 pg/mL to 50 ng/mL, demonstrating good application prospects. The gene discussed is AFP; the disease is cancer.