微信
龙宇行空
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
微信 JSSDK 校验配置生成 Java
/*** 封装jssdk 验证参数 权限验证配置* * @return* @throws QQConnectException* @throws IOException*/public String jsSDKPackage() throws IOException, QQConnectException {logger.error("封装jssdk 验证...2015-11-17 11:25:35 · 282 阅读 · 0 评论 -
微信 wxPaymentPackage 支付信息封装
/*** 微信支付信息封装。java版* * @return* @throws IOException* @throws QQConnectException*/@SuppressWarnings("unchecked")public String wxPaymentPackage() throws IOException, QQConnectException...原创 2015-11-23 13:51:34 · 595 阅读 · 0 评论 -
微信 wxnotifyurl 支付回调方法
/*** 微信支付微信 回调。java版* * @return* @throws IOException* @throws QQConnectException*/@SuppressWarnings( { "unchecked", "static-access" })public String wxnotifyurl() throws IOException, ...原创 2015-11-23 13:51:11 · 2257 阅读 · 0 评论 -
微信 微信授权 用户登陆处理
/*** 使用微信登陆。JAVA版* * @return* @throws IOException*/public String wxLogin() throws IOException, QQConnectException {getResponse().setContentType("text/html;charset=utf-8");// 请求被拦截的路径...原创 2015-11-23 13:50:47 · 520 阅读 · 0 评论 -
微信 JSSDK 校验前端
var title =document.title;var link ="";var imgUrl ="<%=SystemManager.systemSetting.getImageRootPath()%><s:property escape="false" value="e.picture"/>";var appid ="";var原创 2015-11-23 13:50:18 · 689 阅读 · 0 评论 -
微信 请求校验(确认请求来自微信服务器)
/*** 请求校验(确认请求来自微信服务器)*/public void wxOauth() throws Exception { // String signature = (String) getRequest().getAttribute("signature");if (signature == null || signature.equals("")) {l...原创 2015-11-23 13:49:46 · 1655 阅读 · 0 评论 -
微信 SHA1 加密方式实体
public class SHA1 {private final int[] abcde = { 0x67452301, 0xefcdab89, 0x98badcfe,0x10325476, 0xc3d2e1f0 };// 摘要数据存储数组private int[] digestInt = new int[5];// 计算过程中的临时数据存储数组private in...原创 2015-11-17 11:51:33 · 204 阅读 · 0 评论 -
微信 PayCommonUtil 生成 signature签名
import java.io.UnsupportedEncodingException;import java.util.Iterator;import java.util.Map;import java.util.Random;import java.util.Set;import java.util.SortedMap; import org.slf4j....原创 2015-11-17 11:41:51 · 839 阅读 · 0 评论 -
微信 ConfigUtil 相关配置类
public class ConfigUtil {/*** 服务号相关信息*/public final static String APPID = "";//服务号的应用号public final static String APP_SECRECT = "";//服务号的应用密码public final static String WXTOKEN = "";//公...原创 2015-11-17 11:34:57 · 368 阅读 · 0 评论 -
微信 开发 CommonUtil 获取token 及发送接收请求
import java.io.BufferedReader;import java.io.InputStream;import java.io.InputStreamReader;import java.io.OutputStream;import java.io.UnsupportedEncodingException;import java.net.Connect...原创 2015-11-17 11:31:16 · 721 阅读 · 0 评论 -
微信 XMLUtil 数据解析
import java.io.ByteArrayInputStream;import java.io.IOException;import java.io.InputStream;import java.util.HashMap;import java.util.Iterator;import java.util.List;import java.util.Map...原创 2015-12-21 17:14:50 · 548 阅读 · 0 评论
分享