コード例 #1
0
 /// <summary>
 /// 获取会诊单数量
 /// </summary>
 /// <param name="userFilter"></param>
 /// <returns></returns>
 public string GetConsulationCountByUser()
 {
     return(base.ExecuteActionJsonResult("获取列表", () =>
     {
         //UserFilter userFilter = GetPageData<UserFilter>(0);
         int cnt = service.GetConsulationCountByUser(UserTokenManager.GetUId(Request["token"]));
         return new WebApi_Result()
         {
             code = 0, data = cnt
         };
     }));
 }