| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace Gs.DevApp.Models |
| | | { |
| | | /// <summary> |
| | | /// 返回的外围结构 |
| | | /// </summary> |
| | | /// <typeparam name="T"></typeparam> |
| | | public class ReturnModel<T> |
| | | { |
| | | /// <summary> |
| | | /// Default = -100默认, Unauthorized = -101非法调用, Exception = -102系统代码异常, Success = 1成功 |
| | | /// </summary> |
| | | public string rtnCode { set; get; } |
| | | public int rtnCode { set; get; } |
| | | public T rtnData { set; get; } |
| | | public string rtnMsg { get; set; } |
| | | } |
| | | /// <summary> |
| | | /// 返回的分页节点 |
| | | /// </summary> |
| | | public class PageListModel |
| | | { |
| | | |
| | | /// <summary> |
| | | /// 列表 |
| | | /// </summary> |