ResponseBase.cs 597 B

12345678910111213141516171819202122232425
  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.ViewModels.QiYeWeChat
  7. {
  8. /// <summary>
  9. /// 企业微信 响应基类
  10. /// </summary>
  11. public class ResponseBase
  12. {
  13. /// <summary>
  14. /// 出错返回码,为0表示成功,非0表示调用失败
  15. /// </summary>
  16. public int errcode { get; set; } = -1;
  17. /// <summary>
  18. /// 返回码提示语
  19. /// </summary>
  20. public string errmsg { get; set; } = "企业API请求错误!";
  21. }
  22. }