摘要: 查询数据库中某一天的数据 select * from ht_information Where date_format(from_unixtime(create_time),'%Y-%m-%d') = date_format(from_unixtime(1532058980),'%Y-%m-%d'); //基础 $this->request->Post()//获取所有表单数据 //模型 ... 阅读全文
posted @ 2018-07-21 13:55 他的她 阅读(2950) 评论(0) 推荐(0) 编辑
摘要: 原生方法 查询构造器 where用法 排序 分组 数据库事务 读写分离 阅读全文
posted @ 2019-08-06 12:07 他的她 阅读(832) 评论(0) 推荐(0) 编辑
摘要: //$url 异步地址 //$data 请求数据 function Fsockopen_Post($url, $data = '') { $row = parse_MyUrl($url); $host = $row['host']; $port = isset($row['port']) ? $row['port'] : 80; $file = $row['pat... 阅读全文
posted @ 2019-01-12 14:38 他的她 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 修改滚动条样式 颜色及大小可以自行调整 阅读全文
posted @ 2019-01-09 10:40 他的她 阅读(85) 评论(0) 推荐(0) 编辑
摘要: function getRequest() { var url = window.location.search; //获取url中"?"符后的字串 var theRequest = new Object(); if (url.indexOf("?") != -1) { var str = url.substr(1); strs = str... 阅读全文
posted @ 2018-11-08 15:20 他的她 阅读(2009) 评论(0) 推荐(1) 编辑
摘要: //初始化curl $ch = curl_init(); curl_setopt($ch,CURLOPT_HTTP_VERSION,CURL_HTTP_VERSION_1_1);//设置方法使用的HTTP协议,后面的是协议值 curl_setopt($ch,CURLOPT_USERAGENT,'ju 阅读全文
posted @ 2018-10-12 11:18 他的她 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 1.第一步在蚂蚁开放平台注册申请应用上线 2.下载支付宝秘钥生成器,生成秘钥(加在代码里面)和公钥(填写到蚂蚁开放平台)下载sdk放到extend文件夹里面 3.引用SDK 4.访问方法拼写授权地址 5.获取用户信息 阅读全文
posted @ 2018-09-30 12:01 他的她 阅读(6848) 评论(1) 推荐(0) 编辑
摘要: HTML js 阅读全文
posted @ 2018-08-18 15:48 他的她 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 选择图片 <div class="file-box"> <input type="file" name="img[]" class="form-control file-btn" id="img" multiple onchange="onchageUp(this)">选择图片 </div> <di 阅读全文
posted @ 2018-07-14 16:05 他的她 阅读(254) 评论(0) 推荐(0) 编辑
摘要: wxml代码 js代码 后台获取php 阅读全文
posted @ 2018-06-15 19:49 他的她 阅读(312) 评论(0) 推荐(0) 编辑