echo Request::subDomain();
访问:http://ba.oxygen-index.com/
打印:ba
#生成控制器
python craft controller Download
python craft migrate
python craft model Post
刚运行的是时候能看到欢迎界面,运行一会儿就报错,再次运行也是相同。
解决方法:
设置cookies 相关的KEY,并清楚浏览器cookies
python craft tinker
参照解决办法
https://github.com/MasoniteFramework/masonite/issues/573
C:\Users\lyping\AppData\Local\Programs\Python\Python38\DLLs
sqlite3.dll
内DLLs
目录。sqlite3.dll
从下载的 DLL 存档中提取并将其放入 DLLs
目录。权限问题,请将红圈位置取消打勾。