12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Models.APIBase
- {
- #region 单条数据
-
-
-
- public class ApiOne<T>
- {
-
-
-
- public int code { get; set; }
-
-
-
- public string msg { get; set; }
-
-
-
-
- public long stime { get; set; }
-
-
-
- public bool Encrypted { get; set; }
-
-
-
- public T body { get; set; }
- }
- #endregion
- #region 数据集 含条数 用于分页
-
-
-
-
- public class ApiList<T>
- {
-
-
-
- public int code { get; set; }
-
-
-
- public string msg { get; set; }
-
-
-
-
- public long stime { get; set; }
-
-
-
- public bool Encrypted { get; set; }
-
-
-
- public Body<List<T>> body { get; set; }
- }
- #endregion
- #region api数据
-
-
-
-
- public class Body<T>
- {
-
-
-
- public int count { get; set; }
-
-
-
- public T data { get; set; }
- }
- #endregion
- }
|