团餐订单
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.
 
 

50 lines
1.2 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPA.Kitchen.Core
  7. {
  8. /// <summary>
  9. /// 微信登录信息
  10. /// </summary>
  11. public class WeChatLoginModel
  12. {
  13. /// <summary>
  14. /// 错误码
  15. /// </summary>
  16. public int errcode { get; set; }
  17. /// <summary>
  18. /// SessionKey
  19. /// </summary>
  20. public string session_key { get; set; }
  21. /// <summary>
  22. /// 用户唯一标示
  23. /// </summary>
  24. public string openid { get; set; }
  25. }
  26. /// <summary>
  27. /// 获取微信唯一凭证返回信息
  28. /// </summary>
  29. public class WeChatTokenModel
  30. {
  31. /// <summary>
  32. /// 获取到的凭证
  33. /// </summary>
  34. public string access_token { get; set; }
  35. /// <summary>
  36. /// 凭证有效时间,单位:秒。目前是7200秒之内的值。
  37. /// </summary>
  38. public int expires_in { get; set; }
  39. /// <summary>
  40. /// 错误代码
  41. /// </summary>
  42. public string errcode { get; set; }
  43. /// <summary>
  44. /// 错误消息
  45. /// </summary>
  46. public string errmsg { get; set; }
  47. }
  48. }