winform+dev的前后台分离标准项目
lg
2024-09-02 59abbe4785268a10ec9390b8373cce3939c1d24b
DevApp/Gs.DevApp/Models/ReturnModel.cs
@@ -1,23 +1,26 @@
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>