上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 34 下一页
摘要: 参考: https://blog.csdn.net/qq_39666838/article/details/81947225 https://zhidao.baidu.com/question/178447697.html https://www.cnblogs.com/lxwphp/p/77312 阅读全文
posted @ 2020-05-29 09:48 1O(∩_∩)O1 阅读(144) 评论(0) 推荐(0)
摘要: Guzzle是一款php请求客户端,他已经帮你封装了你需要的各种各样的场景,你只要只用即可。 开发手册:https://guzzle-cn.readthedocs.io/zh_CN/latest/overview.html#installation 阅读全文
posted @ 2020-05-29 01:14 1O(∩_∩)O1 阅读(601) 评论(0) 推荐(0)
摘要: 不带参数: $rs = Db::name('admin')->order(['id'=>'desc'])->paginate(1); 带参数传递: $rs=Db::name('admin')->where($where)->order(['id'=>'desc'])->paginate(10,fal 阅读全文
posted @ 2020-04-28 11:13 1O(∩_∩)O1 阅读(509) 评论(0) 推荐(0)
摘要: 来源:https://blog.csdn.net/qq_41241684/article/details/87866416 所以我改成这样: $paperTypeModel = new PaperType(); $seach = Request::get('seach'); $where = arr 阅读全文
posted @ 2020-04-10 17:59 1O(∩_∩)O1 阅读(3150) 评论(0) 推荐(1)
摘要: 操作:https://blog.csdn.net/qq_24326765/article/details/81916222 推荐源:https://blog.csdn.net/qq_36328643/article/details/89072628 阅读全文
posted @ 2020-04-06 00:53 1O(∩_∩)O1 阅读(733) 评论(0) 推荐(0)
摘要: 来源:https://blog.csdn.net/kingroc/article/details/50839994 阅读全文
posted @ 2020-03-11 16:17 1O(∩_∩)O1 阅读(426) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/fdipzone/article/details/40098169 http://blog.csdn.net/fdipzone/article/details/49518535 阅读全文
posted @ 2020-03-04 11:29 1O(∩_∩)O1 阅读(826) 评论(0) 推荐(0)
摘要: 参考来源:https://wiki.swoole.com/wiki/page/p-server/reload.html shell代码: echo "loading..." pid=$(pidof live) # pid= `pidof live` echo $pid kill -usr1 $pid 阅读全文
posted @ 2020-02-18 02:34 1O(∩_∩)O1 阅读(412) 评论(0) 推荐(0)
摘要: 其实这个也没有什么好值得记录的,但是前面都记下来了,我也顺便说说吧: 1.为了方便,最好把http服务声明为超全局变量。 2.在一些地方里面,你声明的http超全局变量是用不了的,你只能用他自己内置的服务对象: public function pushLive($da, $serv) { $key 阅读全文
posted @ 2020-02-07 23:33 1O(∩_∩)O1 阅读(225) 评论(0) 推荐(0)
摘要: 1、__get、__set 这两个方法是为在类和他们的父类中没有声明的属性而设计的 __get( $property ) 当调用一个未定义的属性时访问此方法__set( $property, $value ) 给一个未定义的属性赋值时调用这里的没有声明包括访问控制为proteced,private的 阅读全文
posted @ 2020-02-05 03:40 1O(∩_∩)O1 阅读(291) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 34 下一页