key value
ls.cache {"cacheUser":{"username":"超级档案管理员"," jobNumber":"","userId":"116","realName":"超级档案管理员","password":"000000","lastLoginTime":"2015-10-28T06:19:35.918Z"},"notices":{"data":{"total":20,"pageSize":20,"data":[{"content":"test","id":1446013403703,"title":"test001","archiveCode":"0.01-2015-30年-0001","year":"2015","fondcode":"1377226592843"},{"content":"test","id":1446013403704,"title":"test01","archiveCode":"","year":"2015","fondcode":"1377226592843"},{"content":"test","id":1446013403705,"title":"test01","archiveCode":"0-2015-10年-0002","year":"2015","fondcode":"1377226592843"},{"content":"test","id":1446013403706,"title":"test001","archiveCode":"","year":"2015","fondcode":"1377226592843"},{"content":"test","id":1446013403707,"title":"test --d","archiveCode":"0-2002-10年-0001","year":"2002","fondcode":"1377226592843"},{"content":"test","id":1446013403708,"title":"xxqtest","archiveCode":"","year":"","fondcode":"1377226592843"},{"content":"test","id":1446013403709,"title":"test001","archiveCode":"0-2015-10年-0005","year":"2015","fondcode":"1377226592843"},{"content":"test","id":1446013403710,"title":"test01","archiveCode":"0-2015-10年-0003","year":"2015","fondcode":"1377226592843"}],"pageNumber":1,"totalPages":1},"modifyTime":"2015-10-28T06:24:18.515Z"}}
这么在控制器中获取缓存,并且取出userId这个值
求教啊!!!很急
|