![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微信开发
GoodMorning_可口可乐
拐过转角,风景不一样的美。
展开
-
微信公众号推送消息
<!--微信公众号推送消息--><dependency><groupId>com.github.binarywang</groupId><artifactId>weixin-java-mp</artifactId><version>${weixin.java.mp.version}</vers...原创 2020-04-01 15:46:15 · 340 阅读 · 0 评论 -
获取公众号中用户的信息
***公众号appId screret*/public static final String PAR_PUBLIC_APPID="";public static final String PAR_PUBLIC_SECRET="";/***获取公众号的token*/public static final String ACCESS_TOKE...原创 2020-04-01 15:44:41 · 210 阅读 · 0 评论 -
微信开发定时获取access_token
***@authorxiang*定时获取access_token*/public class ScheduleToken implements Serializable{ private String accessToken; private String expiresIn;public String g...原创 2020-04-01 15:42:30 · 226 阅读 · 0 评论 -
微信开发获取手机号
/***获取微信的手机号*///加密解密的工具类public static final StringAES="AES";public static final String AES_CBC_PADDING="AES/CBC/PKCS7Padding";@ApiOperation(value="微信家长端手机号获取",notes="微信家长端手机号获取")...原创 2020-04-01 15:39:59 · 886 阅读 · 0 评论 -
微信小程序获取openId等信息
/***获取小程序的appId,secret*/public static final String PAR_OPEN_APPID="wx02fe0c6796f92feb";public static final String PAR_OPEN_APP_SECRET="a913b8231ec0a33194bb23d52c845da9";/***小程序访问获取基本...原创 2020-04-01 15:39:14 · 150 阅读 · 0 评论 -
微信开发请求工具类WxUtils
Import org.apache.commons.codec.binary.Base64;Import javax.crypto.Cipher;Import javax.crypto.KeyGenerator;Import javax.crypto.spec.IvParameterSpec;Import javax.crypto.spec.SecretKeySpec;I...原创 2020-04-01 15:37:29 · 1187 阅读 · 0 评论 -
微信请求工具类HttpClientUtil
importorg.apache.http.client.entity.UrlEncodedFormEntity;importorg.apache.http.client.methods.CloseableHttpResponse;importorg.apache.http.client.methods.HttpGet;importorg.apache.http.client.meth...原创 2020-04-01 15:35:50 · 515 阅读 · 0 评论