12345678910111213141516171819 |
- //---上正式线的时候,这段代码要删掉-------
- localStorage.setItem('wlyyAgent', JSON.stringify({
- "id" : 544000,
- "uid" : "0de7295862dd11e69faffa163e8aee56",
- "openid" : "123",
- "token" : "2bae798474fe95c90b5516951aa58829",
- "lastUid" : "",
- "platform" : 3
- }))
- //---上正式线的时候,上述代码要删掉-------
- function getUserInfo(){
- if(localStorage.wlyyAgent!=null&&localStorage.wlyyAgent!=""){
- return JSON.parse(localStorage.wlyyAgent);
- }else{
- return {};
- }
- }
|