|
|
@@ -1381,7 +1381,6 @@
|
|
|
});
|
|
|
})
|
|
|
.then(function (res) {
|
|
|
- alert("123456",res,signPageUrl);
|
|
|
if (res && res.code != null) {
|
|
|
var c = Number(res.code);
|
|
|
if (c !== 200 && c !== 0 && res.success !== true) {
|
|
|
@@ -1410,8 +1409,27 @@
|
|
|
: signPageUrl;
|
|
|
syncBrowserUrlForWxSign(urlForWx);
|
|
|
return new Promise(function (resolve) {
|
|
|
+ try {
|
|
|
+ alert(
|
|
|
+ 'wx.config 参数\n' +
|
|
|
+ JSON.stringify(
|
|
|
+ {
|
|
|
+ debug: false,
|
|
|
+ appId: sign.appId,
|
|
|
+ timestamp: sign.timestamp,
|
|
|
+ nonceStr: sign.nonceStr,
|
|
|
+ signature: sign.signature,
|
|
|
+ jsApiList: [],
|
|
|
+ openTagList: ['wx-open-launch-app'],
|
|
|
+ signUrl: urlForWx
|
|
|
+ },
|
|
|
+ null,
|
|
|
+ 2
|
|
|
+ )
|
|
|
+ );
|
|
|
+ } catch (alertErr) {}
|
|
|
wx.config({
|
|
|
- debug: isWxDebugOn(),
|
|
|
+ debug:false,
|
|
|
appId: sign.appId,
|
|
|
timestamp: sign.timestamp,
|
|
|
nonceStr: sign.nonceStr,
|