In the TV series "The Tang Emperor's Case-solving", Wei refers to Wei Wuji, the master of Emperor Renjie played by Zhang Jiayi. Wei Wuji is not only the former master of Di Renjie, but also provides many key clues and in-depth analysis in the process of investigating cases by Di Renjie, which plays a vital role in the growth and experience of Di Renjie.
Wei Zhi (AD 580 -643) was born in Xiaquyang, Julu County (now Jinzhou West, Hebei Province). Prime Minister in the early Tang Dynasty, an outstanding politician, thinker, writer and historian. Wei Zhi was born into a noble family, and his family came down in the early years. He likes reading and is good at speaking freely. At the end of sui dynasty, he went to wagangjun and was not reused. Later, he followed Shimei to the Tang Dynasty and invited Shandong to persuade Xu Shiji to return to the Tang Dynasty.