mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-29 18:39:16 +08:00
21 lines
852 B
PHP
21 lines
852 B
PHP
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | ShopXO 国内领先企业级B2C免费开源电商系统
|
|
// +----------------------------------------------------------------------
|
|
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
|
|
// +----------------------------------------------------------------------
|
|
// | Licensed ( https://opensource.org/licenses/mit-license.php )
|
|
// +----------------------------------------------------------------------
|
|
// | Author: Devil
|
|
// +----------------------------------------------------------------------
|
|
|
|
// 全局中间件定义文件
|
|
return [
|
|
// 全局请求缓存
|
|
// \think\middleware\CheckRequestCache::class,
|
|
// 多语言加载
|
|
// \think\middleware\LoadLangPack::class,
|
|
// Session初始化
|
|
\think\middleware\SessionInit::class
|
|
];
|
|
?>
|