摘要: 页面跳转方法 调用方法: $this->success('提示','地址',''等待时间); $this->error('登录失败',LOGIN,'',5); 阅读全文
posted @ 2019-11-04 14:03 聽丶 阅读(962) 评论(0) 推荐(0) 编辑
摘要: 模板:网页长什么样子。模板文件:html模板渲染:打开或加载数据到html文件。 thinkphp5的模板渲染有两种情况: a、继承了think\Controller 用return $this->fetch(); b、没有继承think\Controller 用return view(); 其中 阅读全文
posted @ 2019-11-04 13:59 聽丶 阅读(776) 评论(0) 推荐(0) 编辑