Farmer John's cows have discovered that the clover growing along the ridge of the hill (which we can think of as a one-dimensional number line) in his ...
分类:
其他好文 时间:
2018-08-02 22:42:15
阅读次数:
194
thinkphp开发微信小程序后台流程,简单分享一下微信开发流程 1,注册微信小程序账号 2,注册好后,登陆微信小程序,下载微信小程序开发工具 3,用thinkphp开发企业后台,前台数据用json返回,赋值给微信小程序 需要注意的是要绑定(www.hq08.cn)已经备案的域名,还域名要https ...
分类:
微信 时间:
2018-08-01 20:39:10
阅读次数:
241
环境 linux memcached1.5.9 (memcached安装在虚拟机192.168.70.164) wampserver集成环境 thinkphp5 php7 步骤一:linux安装memcached 1.Linux系统安装memcached,首先要先安装libevent库。 2.源码安 ...
分类:
Web程序 时间:
2018-08-01 13:59:24
阅读次数:
270
参考:https://blog.csdn.net/neoxuhaotian/article/details/6112147 https://blog.csdn.net/lionel_d/article/details/44198125 ...
分类:
其他好文 时间:
2018-07-31 21:57:05
阅读次数:
115
1.简介 thinkphp-queue是thinkphp的一个第三方扩展, 内置了 Redis,Database,Topthink ,Sync这四种驱动,推荐使用redis 2. 下载 和安装 composer require topthink/think-queue 配置目录在: applicat ...
分类:
Web程序 时间:
2018-07-26 20:03:54
阅读次数:
5249
tp5 中 model 的新增方法 //默认主键为自动识别,如果需要指定,可以设置属性: namespace app\index\model; use think\Model; class User extends Model { protected $pk = 'uid'; // 设置当前模型对应 ...
分类:
其他好文 时间:
2018-07-25 10:26:18
阅读次数:
1722
ThinkPHP5.0 模板 模板渲染 1. 默认的视图目录是默认的模块下的view目录 2. 渲染规则:调用 \think\View 类fetch方法 模板配置 控制器中变量赋值 函数 运算(三元) 内置标签循环 条件 ...
分类:
Web程序 时间:
2018-07-24 17:59:09
阅读次数:
254
/** * 文件上传 * @param $file 要上传的文件 * @param $size 大小设置 * @param $ext 文件类型 * @return bool 是否上传成功 */function imgUpload($file, $size, $ext){ $info = $file- ...
分类:
Web程序 时间:
2018-07-21 11:59:16
阅读次数:
215
下载地址: "网盘下载" ""How to Think Like a Computer Scientist"" is an introduction to programming using Python, one of the best languages for beginners. This ...
分类:
编程语言 时间:
2018-07-19 00:50:32
阅读次数:
212
原生写法 引入 use/think/Db; query 用于查询 其他的用execute插入记录 $result = Db::execute('insert into sb_ad (ad_name, ad_content ,status) values (1, "456",1)');dump($re ...
分类:
数据库 时间:
2018-07-18 20:32:10
阅读次数:
395