IQiYeWeChatApiService.cs 821 B

123456789101112131415161718192021222324252627282930313233
  1. using OASystem.Domain.Dtos.QiYeWeChat;
  2. using OASystem.Domain.ViewModels.QiYeWeChat;
  3. namespace OASystem.API.OAMethodLib.QiYeWeChatAPI
  4. {
  5. /// <summary>
  6. /// 企业微信Api 服务
  7. /// </summary>
  8. public interface IQiYeWeChatApiService
  9. {
  10. ///// <summary>
  11. ///// 获取access_token
  12. ///// </summary>
  13. ///// <param name="applicationType">
  14. ///// 1:人事助手
  15. ///// 2:打卡
  16. ///// 3:邮件
  17. ///// </param>
  18. ///// <returns></returns>
  19. //Task<Access_TokenView> GetToken(int applicationType);
  20. /// <summary>
  21. /// 创建员工
  22. /// </summary>
  23. /// <param name="create_Request"></param>
  24. /// <returns></returns>
  25. Task<ResponseBase> CreateAsync(Create_Request create_Request);
  26. }
  27. }