OrderReminderService.java
1.18 KB
package com.infoloop.tianting.service;
import com.infoloop.tianting.model.dto.WxUserDto.SendSubscriptionMessageResponse;
/**
* 订餐提醒服务接口
* 用于发送订餐周期开启前的提醒消息(小程序订阅消息)
*/
public interface OrderReminderService {
/**
* 发送订餐提醒消息
*
* 小程序模板字段(模板ID: BCROwaS_oj1_b0fzc_qrgvtSeCtfxctghcLMu-Obkfw):
* - thing8: 用餐类型(如:下次订单即将开始)
* - time1: 订餐时间(如:13:00~21:00)
* - thing2: 温馨提示(如:为了保证您明日正常用餐,立即订餐!)
*
* @param openId 用户 OpenID(小程序的 openId)
* @param page 点击跳转小程序页面路径
* @param mealType 用餐类型,例如:"下次订单即将开始"
* @param orderTime 订餐时间,例如:"13:00~21:00"
* @param tips 温馨提示,例如:"为了保证您明日正常用餐,立即订餐!"
* @return 发送结果
*/
SendSubscriptionMessageResponse sendOrderReminder(String openId, String page,
String mealType, String orderTime, String tips);
}