服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2025-03-07 cca3d57047af05ef3087fc3b244d1836add4f677
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System;
using System.Collections.Generic;
using System.Text;
 
namespace Tiger.Model.SeaStone.Shelf
{
    /// <summary>
    /// 智能料车上报WebHook
    /// </summary>
    public class WebHook
    {
        public WebHook()
        {
 
        }
 
        public WebHook(string Url, string UserId, string SessionId)
        {
            this.Url = Url;
            this.UserId = UserId;
            this.SessionId = SessionId;
        }
 
        /// <summary>
        /// WebHook类别,固定值"SlotChanged"
        /// </summary>
        public string Key { get; } = "SlotChanged";
        /// <summary>
        /// 上报接收接口地址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public string UserId { get; set; }
        /// <summary>
        /// 会话ID
        /// </summary>
        public string SessionId { get; set; }
    }
}