public void EditRtCode() { ISalaryService salaryService = new SalaryServiceClient(); RdCodeInfo rdCodeInfo = new RdCodeInfo() { Code = "app", Name = "app研究", DateB = new DateTime(2020, 8, 1), DateE = new DateTime(2020, 8, 10), Note = "", Key_Date = DateTime.Now, Key_Man = "" }; var Introduction = salaryService.EditRdCode(rdCodeInfo); string json = JsonConvert.SerializeObject(Introduction); Console.WriteLine(json.ToString()); }