移动系统liao
2024-09-23 78028cee453a5878835a27f884ae36c0900fe8f7
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
/***********************************************************************
 *            Project: baifenBinfa
 *        ProjectName: 百分兵法管理系统                               
 *                Web: http://chuanyin.com                     
 *             Author:                                        
 *              Email:                               
 *         CreateTime: 2021/7/29 1:19:20
 *        Description: 暂无
 ***********************************************************************/
 
 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace CoreCms.Net.WeChat.Service.Models
{
    /// <summary>
    /// 微信小程序用户信息结构
    /// </summary>
 
    public class WeChatUserInfo
 
    {
        public string openId { get; set; }
 
        public string nickName { get; set; }
 
        public int gender { get; set; }
 
        public string city { get; set; }
 
        public string province { get; set; }
 
        public string country { get; set; }
 
        public string avatarUrl { get; set; }
 
        public string unionId { get; set; }
 
        public Watermark watermark { get; set; }
 
 
    }
 
 
    [Serializable]
    public class DecodeEntityBase
    {
        public Watermark watermark { get; set; }
    }
 
    /// <summary>
    /// 解码后的用户信息
    /// </summary>
    [Serializable]
    public class DecodedUserInfo : DecodeEntityBase
    {
        public string openId { get; set; }
        public string nickName { get; set; }
        public int gender { get; set; }
        public string city { get; set; }
        public string province { get; set; }
        public string country { get; set; }
        public string avatarUrl { get; set; }
        public string unionId { get; set; }
    }
 
}