上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 41 下一页
摘要: <!--pages/good/good.wxml--> <!--商品发布--> <form bindsubmit="formSubmit"> <!--商品名称--> <view class='title'> <view class='title_text'> <text>商品名称:</text> < 阅读全文
posted @ 2021-12-10 21:45 王越666 阅读(235) 评论(0) 推荐(0)
摘要: wxml: <button type="primary" open-type="getUserInfo" bind:tap="login">授权登录</button> wxjs: // 微信授权 login(evt){ var that=this; // wx.getUserProfile获取用户信 阅读全文
posted @ 2021-12-10 21:35 王越666 阅读(572) 评论(0) 推荐(0)
摘要: 控制器代码 public function index(Request $request) { //接受搜索关键字 $word = $request->get('name'); $start = $request->get('start'); $end = $request->get('end'); 阅读全文
posted @ 2021-12-09 21:52 王越666 阅读(185) 评论(0) 推荐(0)
摘要: {__NOLAYOUT__} <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script type="text/javascript" src="__STATIC__/index_style/js/jq 阅读全文
posted @ 2021-12-08 17:31 王越666 阅读(78) 评论(0) 推荐(0)
摘要: 1:修改框架config下的文件filesystems.php中的配置; 原文件 <?php return [ /* | | Default Filesystem Disk | | | Here you may specify the default filesystem disk that sho 阅读全文
posted @ 2021-12-08 12:38 王越666 阅读(128) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>layui.form小例子</title> <link rel="stylesheet" href="//unpkg.com/layui@2.6.8/dist/css/layui. 阅读全文
posted @ 2021-12-06 20:50 王越666 阅读(146) 评论(0) 推荐(0)
摘要: <?php // 连接数据库 $link = mysqli_connect("127.0.0.1", "root", "root", "1909A"); // 分页的第一步:确定每页显示的条数 $pageSize = 3; // 分页的第二步:计算总记录数 $res = mysqli_query($ 阅读全文
posted @ 2021-12-06 14:37 王越666 阅读(338) 评论(0) 推荐(0)
摘要: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>upload file 阅读全文
posted @ 2021-12-05 19:43 王越666 阅读(33) 评论(0) 推荐(0)
摘要: 数据库操作 执行原生SQL //查询 $emp = DB::select('select * from employees where emp_no = 1'); $emp = DB::select('select * from employees where emp_no = ? and gend 阅读全文
posted @ 2021-12-02 20:02 王越666 阅读(220) 评论(0) 推荐(0)
摘要: 1、什么是ORM 对象关系映射(Object Relation Maping),这个关系就是关系数据库。因此,顾名思义,ORM的核心是我们通过操作对应来操作关系数据库。 ORM的优点: ORM提供了对象属性与表字段的映射,可以大大提高开发效率 ORM的缺点: ORM牺牲了一部分性能,同时带来了学习的 阅读全文
posted @ 2021-12-02 11:26 王越666 阅读(436) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 41 下一页