Authored by yyq

encode refer

... ... @@ -11,7 +11,7 @@ import jsonp from './jsonp';
const miniAppEntrance = '/pages/common/webback';
let _getMiniappLoginUrl = function(url) {
let h5Url = `http://m.yohobuy.com/signin.html?openby:yohobuy={"action":"go.miniapp_login","params":{"h5back":"${location.href}"}}`;
let h5Url = `http://m.yohobuy.com/signin.html?openby:yohobuy={"action":"go.miniapp_login","params":{"h5back":"${encodeURIComponent(location.href)}"}}`;
return `${miniAppEntrance}?url=${encodeURIComponent(h5Url)}`
};
... ...