using MyCode.Project.Domain.Businesses.Sms; using MyCode.Project.Domain.Businesses.WorkProcess; using MyCode.Project.Domain.Message.Request.Goods; using MyCode.Project.Domain.Message.Response.Common; using MyCode.Project.Domain.Message.Response.Goods; using MyCode.Project.Domain.Model; using MyCode.Project.Infrastructure.Common; using System; using System.Collections.Generic; namespace MyCode.Project.Services { public interface IWorkProcessAsyncService { /// /// 添加短信通知调度。数据内容:参考 /// /// 通知模板基类 /// 短信通知数据 void AddSmsNotificationProcess(SmsNotificationData data) where T : SmsTemplateBase; /// /// 添加微信通知调度。数据内容:参考 /// /// 通知模板基类 /// 微信通知数据 void AddWechatNotificationProcess(WechatNotificationData data) where T : NotificationTemplateBase; /// /// 通过调度执行发送消息给会员的方法 /// /// void SendSmsTask(string id); /// /// 重试发送失败的消息 /// void RetrySenSms(); /// /// 根据店员端小程序的服务通知消息模板ID列表 /// /// /// List GetTemplateMessageList(string clerkAppId = null); } }