There are some problems in the system of witness appearing in court to testify in China's civil litigation, such as the ambiguity of the standard of compensation for witnesses' appearing in court to testify, the low rate of investigation and punishment of perjury, and the lack of legislation for refusing to testify, which is not conducive to the promotion of the basic strategy of "governing the country according to law" put forward for the first time in the Fourth Plenary Session of the 18th Central Committee of the Communist Party of China, and is not conducive to the establishment of a strong socialist. We need to improve the cost standard of witnesses in court, improve the guarantee mechanism of witness's truthful testimony, set up the system of refusing to testify, and constantly improve the system of witness appearing in court to build a powerful socialist country under the rule of law.