Dr Wen Shu's husband died in a car accident the night he married her. Since then, Wen Shu has devoted himself to his career, and his personal feelings are in a state of repression and restraint. Lin Niansheng, an old friend, fell in love with Wen Shu from college, but Wen Shu was never moved by his pursuit. By chance, Wen Shu met Lin Niansheng's driver Hao Lei, a handsome young man. Lin Niansheng's niece, Lin Wanjia, just graduated from medical school. She has always loved Hao Lei.
In the movie The Code of Love, Hao Lei plays a newly divorced mother with her daughter. Wen Shu liked Hao Lei very much since she was in college, but she didn't confess at that time. Wen Shu helped Hao Lei and her daughter many times in her life. Hao Lei didn't want to drag Wen Shu to create a rich man. Finally, Wen Shu left Hao Lei and re-established her family.