Commit 173e99fe authored by xinyuandu's avatar xinyuandu

bug

parent 1de1a574
...@@ -336,27 +336,27 @@ ...@@ -336,27 +336,27 @@
})(); })();
$(document).ready(function(){ //$(document).ready(function(){
console.log("12312321321312321132") // console.log("12312321321312321132")
//window.location.href = 'https://www.baidu.com'; // //window.location.href = 'https://www.baidu.com';
//
var phone = ''; // var phone = '';
//
$.ajax({ // $.ajax({
url: 'index/getWxInfoV2', // url: 'index/getWxInfoV2',
data: { // data: {
}, // },
type: "GET", // type: "GET",
dataType: "json", // dataType: "json",
beforeSend: function() {}, // beforeSend: function() {},
success: function(data) { // success: function(data) {
}, // },
error: function() { // error: function() {
//
} // }
}); // });
console.log($('#open_id').val()) // console.log($('#open_id').val())
console.log(JSON.parse($('#open_id').val())); // console.log(JSON.parse($('#open_id').val()));
console.log(JSON.parse($('#open_id').val()).id) // console.log(JSON.parse($('#open_id').val()).id)
$('#jump_link').attr("data-phone" , JSON.parse($('#open_id').val()).is_user) // $('#jump_link').attr("data-phone" , JSON.parse($('#open_id').val()).is_user)
}) //})
\ No newline at end of file \ No newline at end of file
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