修正缓存配置文件
Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
parent
21bf23fe90
commit
b09f2de226
2
.gitignore
vendored
2
.gitignore
vendored
@ -11,3 +11,5 @@
|
||||
/static/upload
|
||||
!composer.json
|
||||
/composer.lock
|
||||
/config/dingtalk.php
|
||||
/config/mail.php
|
||||
|
@ -24,25 +24,16 @@
|
||||
'expire' => 0,
|
||||
];*/
|
||||
return [
|
||||
'type' => 'redis',
|
||||
// 默认使用的缓存
|
||||
'default' => [
|
||||
// 驱动方式
|
||||
'type' => 'file',
|
||||
// 缓存保存目录
|
||||
'path' => './runtime/default',
|
||||
],
|
||||
// redis缓存
|
||||
'redis' => [
|
||||
// 驱动方式
|
||||
'type' => 'redis',
|
||||
// 服务器地址
|
||||
'host' => '127.0.0.1',
|
||||
// 端口
|
||||
'port' => '6379',
|
||||
// 缓存保存目录
|
||||
'path' => './runtime/cache',
|
||||
// 全局缓存有效期(0为永久有效)
|
||||
'expire'=> 0,
|
||||
],
|
||||
// 驱动方式
|
||||
'type' => 'redis',
|
||||
// 服务器地址
|
||||
'host' => '127.0.0.1',
|
||||
// 密码
|
||||
'password' => '',
|
||||
// 端口
|
||||
'port' => '6379',
|
||||
// 缓存保存目录
|
||||
'path' => './runtime/cache',
|
||||
// 全局缓存有效期(0为永久有效)
|
||||
'expire' => 0,
|
||||
];
|
||||
|
1
index.html
Normal file
1
index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html><head><meta charset=utf-8><link id=icon rel=icon type=image/x-icon href=https://static.vilson.online/pearProject/favicon.ico><title>Pear Project</title><link href=https://static.vilson.online/pearProject/static/css/chunk-010e6240.8f164f9a.css rel=prefetch><link href=https://static.vilson.online/pearProject/static/css/chunk-3df780ba.9186476f.css rel=prefetch><link href=https://static.vilson.online/pearProject/static/css/chunk-47d42318.c661772a.css rel=prefetch><link href=https://static.vilson.online/pearProject/static/css/chunk-5af90eac.c661772a.css rel=prefetch><link href=https://static.vilson.online/pearProject/static/css/chunk-5bd3e142.9ab40095.css rel=prefetch><link href=https://static.vilson.online/pearProject/static/css/chunk-758da350.242435fb.css rel=prefetch><link href=https://static.vilson.online/pearProject/static/css/chunk-77182037.242435fb.css rel=prefetch><link href=https://static.vilson.online/pearProject/static/css/chunk-9db6d922.6e9b3b28.css rel=prefetch><link href=https://static.vilson.online/pearProject/static/css/chunk-b2404562.c661772a.css rel=prefetch><link href=https://static.vilson.online/pearProject/static/css/chunk-f00276f6.a525068a.css rel=prefetch><link href=https://static.vilson.online/pearProject/static/css/chunk-f731460a.a95968b7.css rel=prefetch><link href=https://static.vilson.online/pearProject/static/css/user.9ac27071.css rel=prefetch><link href=https://static.vilson.online/pearProject/static/js/chunk-010e6240.bca9faa0.js rel=prefetch><link href=https://static.vilson.online/pearProject/static/js/chunk-3df780ba.e4028055.js rel=prefetch><link href=https://static.vilson.online/pearProject/static/js/chunk-47d42318.63a5c25a.js rel=prefetch><link href=https://static.vilson.online/pearProject/static/js/chunk-5af90eac.965f01e1.js rel=prefetch><link href=https://static.vilson.online/pearProject/static/js/chunk-5bd3e142.1f14b8b1.js rel=prefetch><link href=https://static.vilson.online/pearProject/static/js/chunk-758da350.ed8b10a5.js rel=prefetch><link href=https://static.vilson.online/pearProject/static/js/chunk-77182037.8413d837.js rel=prefetch><link href=https://static.vilson.online/pearProject/static/js/chunk-9db6d922.d7c71174.js rel=prefetch><link href=https://static.vilson.online/pearProject/static/js/chunk-b2404562.644a18cf.js rel=prefetch><link href=https://static.vilson.online/pearProject/static/js/chunk-f00276f6.a787e5c8.js rel=prefetch><link href=https://static.vilson.online/pearProject/static/js/chunk-f731460a.953216f9.js rel=prefetch><link href=https://static.vilson.online/pearProject/static/js/user.053ae34b.js rel=prefetch><link href=https://static.vilson.online/pearProject/static/css/app.ee3fecf0.css rel=preload as=style><link href=https://static.vilson.online/pearProject/static/css/chunk-vendors.9bcbdad7.css rel=preload as=style><link href=https://static.vilson.online/pearProject/static/js/app.983db9a1.js rel=preload as=script><link href=https://static.vilson.online/pearProject/static/js/chunk-vendors.e115f959.js rel=preload as=script><link href=https://static.vilson.online/pearProject/static/css/chunk-vendors.9bcbdad7.css rel=stylesheet><link href=https://static.vilson.online/pearProject/static/css/app.ee3fecf0.css rel=stylesheet></head><body><div id=app></div><script src=https://static.vilson.online/pearProject/static/js/chunk-vendors.e115f959.js></script><script src=https://static.vilson.online/pearProject/static/js/app.983db9a1.js></script></body></html>
|
Loading…
x
Reference in New Issue
Block a user