This website works better with JavaScript
Home
Explore
Help
Sign In
hlm
/
hlm_pl_mall
Watch
11
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Browse Source
跨域
rambo
1 year ago
parent
f720f308d9
commit
aa155e1e95
1 changed files
with
5 additions
and
0 deletions
Split View
Show Diff Stats
5
0
app/middleware.php
+ 5
- 0
app/middleware.php
View File
@@ -0,0 +1,5 @@
+<?php
+// 全局中间件定义文件
+return [
+ \think\middleware\AllowCrossDomain::class,
+];