10 2020 档案

摘要:const nums = [10, 20, 111, 222, 444, 40, 50]; console.log(nums); // 1.filter let newNums = nums.filter(function (n) { return n < 100; }); console.log( 阅读全文
posted @ 2020-10-26 18:23 陈华波 阅读(451) 评论(0) 推荐(0)
摘要:更改redis的配置项 这里需要配置 notify-keyspace-events 的参数为 “Ex”。 x 代表了过期事件。notify-keyspace-events “Ex” 保存配置后,重启Redis服务,使配置生效。 public function index() { if (is_cli 阅读全文
posted @ 2020-10-24 17:50 陈华波 阅读(468) 评论(0) 推荐(0)