摘要:
设置某个时间为过期时间,如果过期时间的时间戳大于当前时间的时间戳(data.expired > new Date().getTime()),代表还没有过期,否则就是过期了 可以将下面的代码统一封装到cach.js文件里里面用到db的set或者get是存储缓存功能//取值 function get(k 阅读全文
摘要:
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the 阅读全文