示例#1
0
        public override void Default()
        {
            List <AB> list = JsonHelper.ToList <AB>(GetJson());
            AB        ab   = GetEntity <AB>();

            Write(GetJson());
        }
示例#2
0
 public void GetDataOnlyPost(List <AB> unList, string a, int?b, AB ab)
 {
     Write("GetDataOnlyPost A:" + unList[0].A + " B:" + unList[0].B, true);
 }
示例#3
0
 public void GetDataWithNoToken(List <AB> unList, string a, int?b, AB ab)
 {
     Write("GetDataWithNoToken A:" + unList[0].A + " B:" + unList[0].B + "<script>alert('ok');</script>", true);
 }
示例#4
0
 public void GetDataWithNoToken(List <AB> unList, string a, int?b, AB ab)
 {
     Write("GetDataWithNoToken A:" + unList[0].A + " B:" + unList[0].B, true);
 }
示例#5
0
 //public void GetData(AB un)
 //{
 //    Write("your data A:" + un.A, true);
 //    Write("your data B:" + un.B, true);
 //}
 public void GetData(List <AB> unList, string a, int?b, AB ab)
 {
     Write("your data A:" + unList[0].A + " your data B:" + unList[0].B, true);
 }