04 2023 档案

摘要:Db::query('select * from tp5_user where id = ? || name = ?',[$id,'Tom']); Db::execute('insert into tp5_user(name,age) values(?,?)',[$name,$age]); Db:: 阅读全文
posted @ 2023-04-10 17:31 亜光君 阅读(80) 评论(0) 推荐(0) 编辑
摘要:index继承基类Base,采用$this->view->fetch()进行视图渲染,修改/view/index/index.html的js、css等引用 但仍不能加载静态资源文件 需在app/config.php中修改 // 视图输出字符串内容替换 'view_replace_str' => [] 阅读全文
posted @ 2023-04-04 15:30 亜光君 阅读(12) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示