Exemple #1
0
 public string Add(HttpContext context) {
    ApiInfo info=new ApiInfo();
     return "news add";
 }
Exemple #2
0
 public string GetList(HttpContext context) {
     ApiInfo exception = new ApiInfo(2, "news list err");
     string extjson = Common.json.JsonHelper<ApiInfo>.Serialize2Object(exception);
     return extjson;
 }
Exemple #3
0
 public string Add(HttpRequest request) {
    ApiInfo info=new ApiInfo();
     return "news add";
 }