public List <sa_t_oper_type> GetOperTypeList() { JsonRequest r = new JsonRequest(); r.request("/oper?t=GetOperType"); if (!r.ReadSuccess()) { throw new Exception(r.ReadMessage()); } List <sa_t_oper_type> list = r.GetList <sa_t_oper_type>(); return(list); }
public List <sys_t_oper_type> GetOperTypeList() { JsonRequest r = new JsonRequest(); r.request("/mydestop?t=GetAll"); if (!r.ReadSuccess()) { throw new Exception(r.ReadMessage()); } List <sys_t_oper_type> lis = r.GetList <sys_t_oper_type>(); return(lis); }
public List <sa_t_oper_grant> GetAllGrant(sa_t_oper_grant grant) { JsonRequest r = new JsonRequest(); r.Write("grant", grant); r.request("/sys?t=GetAllGrant"); if (!r.ReadSuccess()) { throw new Exception(r.ReadMessage()); } List <sa_t_oper_grant> lis = r.GetList <sa_t_oper_grant>(); return(lis); }
List <sys_t_oper_mylove> IMyDestop.GetMyLove(string oper_id) { JsonRequest r = new JsonRequest(); r.Write("oper_id", oper_id); r.request("/mydestop?t=GetMyLove"); if (!r.ReadSuccess()) { throw new Exception(r.ReadMessage()); } List <sys_t_oper_mylove> lis = r.GetList <sys_t_oper_mylove>(); return(lis); }