Commit f21d8630 by libai

测试

parent e74af7c3
Showing with 7 additions and 1 deletions
......@@ -57,6 +57,9 @@
sessionStorage.kkk=data.token; //t
sessionStorage.bbb=data.uid; //u
sessionStorage.surroun=data.ddd;
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) sessionStorage.os='ios'
else sessionStorage.os='android'
// sessionStorage.kkk="fdkgjfdkjglkdfjg22"; //t
// sessionStorage.bbb="23127958"; //u
......@@ -105,7 +108,10 @@
url:$ip+"banner/list",
type: "get",
data:{
uid:"21372129",
uid:localStorage.uid,
token:localStorage.token,
pkg:'weixin',
os:sessionStorage.os
},
error: function (msg) {
console.log('请求出错');
......
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 sign in to comment