Commit 549726b3 authored by xinyuandu's avatar xinyuandu

bug

parent a0501208
......@@ -87,7 +87,9 @@ function jumpEvent(){
var params = "?" + window.location.href.split('?')[1]
$('#jump_link').click(function(e){
if (JSON.parse($('#open_id').val()).is_user == 'true'){
console.log(JSON.parse($('#open_id').val()).is_user)
if (JSON.parse($('#open_id').val()).is_user ){
console.log("true console")
if(device.isIos()) {
console.log(navigator.userAgent.toLowerCase().match(/MicroMessenger/i)!='micromessenger' )
if ( navigator.userAgent.toLowerCase().match(/MicroMessenger/i)!='micromessenger' ) {
......@@ -112,6 +114,7 @@ function jumpEvent(){
} else {
};
} else {
console.log("false console")
var user_id = JSON.parse($('#open_id').val()).user_id; //从url获取的商铺id
var referrer = _clientType==='b'? 20 : 10 ;
var union_id = JSON.parse($('#open_id').val()).wx_union_id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment