You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPA.Kitchen.Core
- {
- /// <summary>
- /// 微信登录信息
- /// </summary>
- public class WeChatLoginModel
- {
- /// <summary>
- /// 错误码
- /// </summary>
- public int errcode { get; set; }
- /// <summary>
- /// SessionKey
- /// </summary>
- public string session_key { get; set; }
- /// <summary>
- /// 用户唯一标示
- /// </summary>
- public string openid { get; set; }
- }
- /// <summary>
- /// 获取微信唯一凭证返回信息
- /// </summary>
- public class WeChatTokenModel
- {
- /// <summary>
- /// 获取到的凭证
- /// </summary>
- public string access_token { get; set; }
- /// <summary>
- /// 凭证有效时间,单位:秒。目前是7200秒之内的值。
- /// </summary>
- public int expires_in { get; set; }
- /// <summary>
- /// 错误代码
- /// </summary>
- public string errcode { get; set; }
- /// <summary>
- /// 错误消息
- /// </summary>
- public string errmsg { get; set; }
- }
- }
|