Authored by 沈志敏

fix open app bug

... ... @@ -5,12 +5,12 @@ import utils from './utils';
const getAppPath = () => {
let qs = utils.queryString();
if (qs.mkt_code && !qs.union_type) {
qs.union_type = qs.mkt_code;
}
let ct = qs.mkt_code || qs.union_type;
delete qs.openapp; // 防止重复打开
let shareParams = qs.share_id ? '"share":"/operations/api/v5/webshare/getShare","shareparam":{"share_id":"' + qs.share_id + '"},' : '',
appPath = 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.h5",' + shareParams +
appPath = 'yohobuy://yohobuy.com/goapp?ct='+ ct +'&openby:yohobuy={"action":"go.h5",' + shareParams +
'"params":{"islogin":"N","url":"http://feature.yoho.cn' + location.pathname + '","param":' + JSON.stringify(qs) + '}}';
return appPath;
... ...