Access_Token_Request.cs 716 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Dtos.QiYeWeChat
  7. {
  8. /// <summary>
  9. /// 企业微信
  10. /// 请求 access_token dto
  11. /// </summary>
  12. public class Access_Token_Request
  13. {
  14. /// <summary>
  15. /// 企业ID
  16. /// </summary>
  17. public string corpid { get; set; } = "wwe978bef5495a0728";
  18. /// <summary>
  19. /// 应用的凭证密钥
  20. /// 每个应用有独立的secret,获取到的access_token只能本应用使用,所以每个应用的access_token应该分开来获取
  21. /// </summary>
  22. public string? corpsecret { get; set; }
  23. }
  24. }