sunpengfei
2025-09-30 a6e5a2e630a4a1dcfd9def94c20bde6bec89f96f
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
using MediatR;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace ApiTools.Core
{
    /// <summary>
    /// 诚立业短信平台回传通知
    /// </summary>
    [Resource([EnumResourceController.CommonServerSmsUtils], Method = EnumResourceMethod.Post, AllowAnonymous = true)]
    public class SmsChengLiYeNotifyCommand : IRequest<bool>
    {
        public SmsChengLiYeNotifyCommand()
        {
            MsgReports = [];
        }
 
        /// <summary>
        /// 状态码
        /// </summary>
        [JsonProperty("resultCode")]
        public string ResultCode { get; set; }
 
        /// <summary>
        /// 状态码
        /// </summary>
        [JsonProperty("msgReports")]
        public List<SmsChengLiYeNotifyCommandMsgReport> MsgReports { get; set; }
    }
 
    /// <summary>
    /// 诚立业短信通知请求
    /// </summary>
    public class SmsChengLiYeNotifyCommandMsgReport
    {
        /// <summary>
        /// 用户名。提交时的用户名
        /// </summary>
        [JsonProperty("userName")]
        public string UserName { get; set; }
        /// <summary>
        /// 提交返回的msgid
        /// </summary>
        [JsonProperty("msgid")]
        public long Msgid { get; set; }
        /// <summary>
        /// 提交返回的seqid
        /// </summary>
        [JsonProperty("seqid")]
        public string Seqid { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        [JsonProperty("mobile")]
        public string Mobile { get; set; }
        /// <summary>
        /// 手机号码发送状态码
        /// </summary>
        [JsonProperty("status")]
        public string Status { get; set; }
        /// <summary>
        /// 状态码描述
        /// </summary>
        [JsonProperty("statusDes")]
        public string StatusDes { get; set; }
        /// <summary>
        /// 报告返回时间
        /// </summary>
        [JsonProperty("doneTime")]
        public DateTime DoneTime { get; set; }
    }
}