BaseService.cs 586 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. namespace XYY.Api.WarningNotice.WarningNoticeService
  6. {
  7. public abstract class BaseService
  8. {
  9. public BaseService()
  10. {
  11. }
  12. /// <summary>
  13. /// 通知
  14. /// </summary>
  15. /// <returns></returns>
  16. public abstract bool NoticeText(TextMessageNoticeTarget message);
  17. public abstract bool NoticeLink(LinkMessageNoticeTarget target);
  18. public abstract Task<bool> NoticeActionCard(ActionCardNoticeTarget target);
  19. }
  20. }