diff --git a/config/cache.php b/config/cache.php index 7f732a47158932b9eeac1c12c80565909dcbde80..be9d0443993e5ec33153f4df43f9f0a4569a5f38 100644 --- a/config/cache.php +++ b/config/cache.php @@ -17,7 +17,7 @@ return [ // 缓存保存目录 'path' => '', // 缓存前缀 - 'prefix' => 'yyl:', + 'prefix' => 'yyl', // 缓存有效期 0表示永久缓存 'expire' => 0, // 缓存标签前缀 diff --git a/config/index.php b/config/index.php index 5c124692818b03540d09e05213ca0078c106e7dd..3e109b061b563db7cb475081bc92a3fc586a905a 100644 --- a/config/index.php +++ b/config/index.php @@ -11,6 +11,9 @@ return [ 'is_log' => true, // 接口白名单 'whitelist' => [ + 'index/', + 'index/Index/', + 'index/Index/index', 'index/Register/register', 'index/Login/verify', 'index/Login/login',