|
@@ -451,7 +451,7 @@ public class WxGzhServiceImpl implements IWxGzhService {
|
|
|
|
|
|
|
|
|
@Override
|
|
|
- public JSONObject getJspapi() {
|
|
|
+ public JSONObject getJspapi(String url) {
|
|
|
|
|
|
//1、获取AccessToken
|
|
|
String gzhToken = this.getGzhToken();
|
|
@@ -462,7 +462,6 @@ public class WxGzhServiceImpl implements IWxGzhService {
|
|
|
long timestamp = System.currentTimeMillis()/1000;
|
|
|
|
|
|
//4、获取url
|
|
|
- String url="https://jpcj-h51.zzxcx.net/mini";
|
|
|
String str = "jsapi_ticket="+jsapiStr+"&noncestr="+nonce_str+"×tamp="+timestamp+"&url="+url;
|
|
|
|
|
|
//6、将字符串进行sha1加密
|