WechatService.java 332 B

123456789101112131415
  1. package com.hz.employmentsite.services.service;
  2. import me.chanjar.weixin.common.error.WxErrorException;
  3. import java.util.Map;
  4. public interface WechatService {
  5. String getOAuthUrl(String state);
  6. Integer sentMsg(String toUserId, Map<String,String> sentData);
  7. String getOpenId(String code) throws WxErrorException;
  8. }