30 lines
705 B
C#
30 lines
705 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Hg.Core.Domain.Sso
|
|
{
|
|
internal class SsoResult<T>
|
|
{
|
|
/// <summary>
|
|
/// -1 未知异常
|
|
/// -1001 签名不合法
|
|
/// -1002 签名验证失败
|
|
/// -1003 请求内容不合法
|
|
/// -1004 AppID不合法
|
|
// -1005 签名已过期
|
|
/// </summary>
|
|
[JsonPropertyName("ret")]
|
|
public int Ret { get; set; }
|
|
|
|
[JsonPropertyName("data")]
|
|
public T Data { get; set; }
|
|
|
|
[JsonPropertyName("msg")]
|
|
public string? Msg { get; set; }
|
|
}
|
|
}
|