TemplateCommonService.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package com.cyksj.service.template;
  2. import com.cyksj.model.entity.*;
  3. import com.cyksj.model.manage.request.ReqSetLogisticsPost;
  4. import com.cyksj.model.manage.views.GroupsRelationView;
  5. import com.cyksj.model.views.WxAppTemplateView;
  6. /*
  7. *项目名: netflix
  8. *文件名: TemplateCommonService
  9. *创建者: JavaZou
  10. *创建时间:2023/1/11 9:59
  11. */
  12. public interface TemplateCommonService {
  13. /**
  14. * 发送新订单模板消息
  15. */
  16. void newOderSendMsgByType(OrderDon order, GoodsDon goodsDon, GoodsDonSku sku, User user, String toPeople, Boolean isCustomer) throws Exception;
  17. /**
  18. * 公众号扫描登录成功模板消息
  19. */
  20. void sendWxGzhQrCodeSuccessMsg(User user) throws Exception;
  21. /**
  22. * 获取发送模板消息的公众号
  23. */
  24. WxAppTemplateView getWxAppByUserId(Long userId, String templateMark);
  25. /**
  26. * 发货通知模板消息
  27. */
  28. void sendTransportMsgNotify(OrderDon orderDon, ReqSetLogisticsPost reqSetLogisticsPost, Boolean isReceiveAll) throws Exception;
  29. /**
  30. * 空车位通知模板
  31. */
  32. void emptySendMsgNotify(OrderDon orderDon, String toPeople) throws Exception;
  33. /**
  34. * 账号修改密码通知模板
  35. */
  36. void sendAccountTemplateMsg(Account account) throws Exception;
  37. /**
  38. * 修改用户车票账号密码通知
  39. */
  40. void sendUpdateAccountMsgNotify(GroupsRelationView relation) throws Exception;
  41. /**
  42. * Spotify账号到期通知模板
  43. */
  44. }