...
|
...
|
@@ -351,7 +351,7 @@ function setMktc() { |
|
|
if (isWechat) {
|
|
|
// 微信中,不管是否已经种入cookie,直接覆盖
|
|
|
cookies('mkt_code', mktc, options);
|
|
|
} else if (!cookies('mkt_code')){
|
|
|
} else if (!cookies('mkt_code') || mktc === '100000000000349'){
|
|
|
// 如果没有种入mtk_code则种入
|
|
|
cookies('mkt_code', mktc, options);
|
|
|
}
|
...
|
...
|
@@ -359,7 +359,7 @@ function setMktc() { |
|
|
}
|
|
|
|
|
|
function getMktc() {
|
|
|
var mktc = cookies('mkt_code');
|
|
|
var mktc = cookies('mkt_code') || window.qs.mkt_code || window.qs.union_type || window.qs.code; // window.qs.code 兼容老url
|
|
|
if (mktc) {
|
|
|
return {
|
|
|
mktc: mktc
|
...
|
...
|
|