public class WeChatUtils extends Object
| Constructor and Description |
|---|
WeChatUtils() |
| Modifier and Type | Method and Description |
|---|---|
static net.sinofool.wechat.thirdparty.org.json.JSONArray |
getJSONArray(net.sinofool.wechat.thirdparty.org.json.JSONObject obj,
String key) |
static int |
getJSONInt(net.sinofool.wechat.thirdparty.org.json.JSONObject obj,
String key) |
static String |
getJSONString(net.sinofool.wechat.thirdparty.org.json.JSONObject obj,
String key) |
static String |
md5hex(String input)
Lower case md5
|
static String |
md5HEX(String input)
Upper case md5
|
static String |
nonce() |
static int |
now() |
static String |
sha1hex(String input)
Lower case sha1
|
public static final Random RAND
public static int now()
public static String nonce()
public static String getJSONString(net.sinofool.wechat.thirdparty.org.json.JSONObject obj, String key)
public static int getJSONInt(net.sinofool.wechat.thirdparty.org.json.JSONObject obj,
String key)
public static net.sinofool.wechat.thirdparty.org.json.JSONArray getJSONArray(net.sinofool.wechat.thirdparty.org.json.JSONObject obj,
String key)
Copyright © 2017. All rights reserved.