合并更新Remoting,无法迁移到NewLife.Remoting,因为后者为支持net40就得放弃一些新的语法。
智能大石头 authored at 2024-02-02 16:49:09 智能大石头 committed at 2024-02-02 16:58:46
403.00 B
X
using NewLife.Data;

namespace NewLife.Remoting;

/// <summary>Api请求/响应</summary>
public class ApiMessage
{
    /// <summary>动作</summary>
    public String Action { get; set; } = null!;

    /// <summary>响应码。请求没有该字段</summary>
    public Int32 Code { get; set; }

    /// <summary>数据。请求参数或响应内容</summary>
    public Packet? Data { get; set; }
}