//---上正式线的时候,这段代码要删掉------- localStorage.setItem('wlyyAgent', JSON.stringify({ "id" : 544000, "uid" : "56ed87b7dead4a55876a8153745a28e3", "openid" : "123", "token" : "2bae798474fe95c90b5516951aa58829", "lastUid" : "", "platform" : 3 })) //---上正式线的时候,上述代码要删掉------- function getUserInfo(){ return localStorage.wlyyAgent; }