Authored by 沈志敏

修改编码格式及 加关注的url变更

{
"name": "yas-jssdk",
"version": "2.3.5",
"version": "2.3.7",
"description": "YOHO!采集系统的前端js的开发包",
"keywords": [
"YOHO!",
... ...
... ... @@ -257,7 +257,7 @@ exports.getDownloadStr = function(isWechat) {
<span class="download-icon"></span><span class="download-text">Yoho!Buy有货</span>';
if (isWechat) {
str += '<a class="download-go-wechat" id="download-go" href="https://union.yoho.cn/union/app-downloads.html">立即打开</a>';
str += '<a class="download-wechat" id="download-wechat" href="https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MjM5MzI3MDkwNg==&scene=110#wechat_redirect">加关注</a></div>';
str += '<a class="download-wechat" id="download-wechat" href="https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MjM5ODI5MDA4MA==&scene=110#wechat_redirect">加关注</a></div>';
} else {
str += '<p class="download-text-desc">新用户送惊喜礼包</p>';
str += '<a class="download-go" id="download-go" href="https://union.yoho.cn/union/app-downloads.html">立即打开</a></div>';
... ...
... ... @@ -604,7 +604,7 @@ _yas.sendAppLogs = function(json, asyncindx) {
});
// 上报数据
cross.appSend("_mlogs=" + escape(JSON.stringify(logs)));
cross.appSend("_mlogs=" + encodeURIComponent(JSON.stringify(logs)));
window._yasloaded = true;
if (asyncindx) { // 将indx同步到app中
... ...