/// <summary> /// 16、 模板列表 /// </summary> /// <param name="token">token</param> /// <param name="kindid">模板分类id</param> /// <param name="page">分页id</param> /// <returns></returns> /// Jerry Shi public TplListResponse TplList(string token, string kindid, string page) { try { string ApiResponse = string.Empty; TplListResponse tplListResponse = new TplListResponse(); Dictionary<string, string> sPara = new Dictionary<string, string>(); //不需要传,不可以为空 if (!string.IsNullOrEmpty(kindid)) { sPara.Add("kindid", kindid); } //sPara.Add("page", page); ApiResponse = F8YLSubmit.BuildGetRequest(sPara, "tpl/list?token=" + token); tplListResponse = JsonHelper.DeserializeJsonToObject<TplListResponse>(ApiResponse); return tplListResponse; } catch (Exception) { throw; } }