摘要: 如图所示报错 需要安装多应用模式扩展think-multi-app 命令行:composer require topthink/think-multi-app 转自https://blog.csdn.net/qq_39188306/article/details/103802661 阅读全文
posted @ 2020-10-05 22:25 kalistabc 阅读(5839) 评论(0) 推荐(0) 编辑
摘要: 一、模板渲染 1、模板渲染 控制器 和模板,它们名字是对应的。 通过fetch方法,访问控制器时,就可以渲染模板 想使用fetch方法,要先use引入view namespace app\controller; use app\BaseController; use think\facade\Vie 阅读全文
posted @ 2020-10-05 08:13 kalistabc 阅读(296) 评论(0) 推荐(0) 编辑