Package com.bytedesk.wechat.mp
Class WeChatMpTemplateService
java.lang.Object
com.bytedesk.wechat.mp.WeChatMpTemplateService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private final HttpRestService
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsendBindMessage
(String username, String openid) sendFeedbackMessage
(String fid, String type, String uuid, String username, String content, String mobile, String openid) sendLeavemsgMessage
(String lid, String type, String uuid, String username, String content, String mobile, String openid) sendLoginMessage
(String username, String ipInfo, String openid, String client) sendNewVisitorMessage
(String nickname, String ipInfo, String openid, String client) sendPaymentMessage
(String agentUsername, String validateUntilDate, String openid) sendRateMessage
(String threadTid, String agentNickname, String openid) sendRechargeMessage
(String username, String money, String rid, String openid) sendRechargeRemindMessage
(String username, String service, Date validateUntilDate, String openid) sendStatisticDailyMessage
(String username, String date, String content, String openid) sendTemplateMessage
(String wxappid, String openId, String templateId, String url, Map<String, String> map) sendTemplateMessageMini
(String wxappid, String openId, String templateId, String pagePath, Map<String, String> map) sendTicketMessage
(String tid, String type, String uuid, String username, String content, String mobile, String openid) sendTodoMessage
(String username, String ipInfo, String openid, String client) sendUnbindMessage
(String username, String openid)
-
Field Details
-
restService
-
MP_APP_ID
- See Also:
-
TEMPLATE_BIND_ID
- See Also:
-
TEMPLATE_UNBIND_ID
- See Also:
-
TEMPLATE_RECHARGE_ID
- See Also:
-
TEMPLATE_RECHARGE_REMIND_ID
- See Also:
-
TEMPLATE_PAYMENT_ID
- See Also:
-
TEMPLATE_STATISTIC_ID
- See Also:
-
TEMPLATE_RATE_ID
- See Also:
-
TEMPLATE_LEAVEMSG_ID
- See Also:
-
TEMPLATE_TICKET_ID
- See Also:
-
TEMPLATE_FEEDBACK_ID
- See Also:
-
TEMPLATE_LOGIN_ID
- See Also:
-
TEMPLATE_NEW_VISITOR_ID
- See Also:
-
-
Constructor Details
-
WeChatMpTemplateService
public WeChatMpTemplateService()
-
-
Method Details
-
sendTemplateMessage
-
sendTemplateMessageMini
-
sendBindMessage
-
sendUnbindMessage
-
sendRechargeMessage
-
sendRechargeRemindMessage
-
sendPaymentMessage
-
sendStatisticDailyMessage
-
sendRateMessage
-
sendLeavemsgMessage
-
sendTicketMessage
-
sendFeedbackMessage
-
sendLoginMessage
-
sendNewVisitorMessage
-
sendTodoMessage
-