WechatCustomerService.java 607 B

1234567891011121314151617181920212223
  1. package com.ydtech.modules.admin.service;
  2. import com.fasterxml.jackson.core.JsonProcessingException;
  3. public interface WechatCustomerService {
  4. /**
  5. * 配置微信客服回调信息
  6. *
  7. * @param msgSignature
  8. * @param timestamp 时间戳
  9. * @param nonce
  10. * @param echoStr 加密后的参数
  11. * @return 校验参数
  12. */
  13. String customerCallback(String msgSignature, String timestamp, String nonce, String echoStr);
  14. /**
  15. * 回调事件
  16. * @param wechatEncrypt
  17. */
  18. void callbackSendMsgOnEvent(String wechatEncrypt) throws JsonProcessingException;
  19. }