2026-04-15 05:09:44 +00:00
|
|
|
<?php
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | ShopXO 国内领先企业级B2C免费开源电商系统
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | Licensed ( https://opensource.org/licenses/mit-license.php )
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | Author: Devil
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
// 全局中间件定义文件
|
|
|
|
|
return [
|
feat: VR ticket plugin full update - Tree API, City selector, seatmap service, wallet plugin
Core changes:
- Add Tree API design docs + implementation plan (14/15/16_*.md)
- Add CityService + City API (city selector component)
- Enhance SeatMapService + SeatSkuService (seatmap.test.json)
- Add Hook.php event injection, AdminGoodsSave hooks
- Update ticket_detail.html, venue/save.html views
- Add CORS middleware, Weixin payment fix
Wallet plugin (new submodule):
- Full wallet plugin: admin (Cash/Recharge/Transfer/Config)
- API layer: User/Walletlog/Recharge/Cash/Transfer endpoints
- Hook integration
Docs:
- VR_TICKET_TREE_API.md, VR_TICKET_WALLET_VERIFY_API.md
- Council evaluation report, test files
Tools:
- strip_batch.py, strip_page.py (cleanup utilities)
(153 files, +27784/-686 lines)
2026-06-03 05:34:38 +00:00
|
|
|
// 跨域中间件 - 必须在所有中间件之前,确保 CORS 头在任何鉴权逻辑之前设置
|
|
|
|
|
\app\middleware\CorsMiddleware::class,
|
2026-04-15 05:09:44 +00:00
|
|
|
// 全局请求缓存
|
|
|
|
|
// \think\middleware\CheckRequestCache::class,
|
|
|
|
|
// 多语言加载
|
|
|
|
|
// \think\middleware\LoadLangPack::class,
|
|
|
|
|
// Session初始化
|
|
|
|
|
\think\middleware\SessionInit::class
|
|
|
|
|
];
|
|
|
|
|
?>
|