![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
laravel
文章平均质量分 54
阳十三
不要把平台当做能力
展开
-
Laravel5.2目录结构及composer.json文件解析
目录或文件|– app 包含Controller、Model、路由等在内的应用目录,大部分业务将在该目录下进行| |– Console 命令行程序目录| | |– Commands 包含了用于命令行执行的类,可在该目录下自定义类| | |– Kernel.php 命令调用内核文件,包含commands变量(命令清单,自定义的命令需加入到这里)和schedule方法(用于任务调度,翻译 2017-02-20 10:42:10 · 858 阅读 · 0 评论 -
laravel5.4 cookie商品最近浏览功能
MODEL:class MyCookie{ //存储cookie public function checkCookie($data,$arr) { if (!empty($data)) { //重建数组 不能超过10 if ($count = sizeof($data) > 10) {原创 2017-05-12 11:29:37 · 333 阅读 · 0 评论 -
laravel 商品无限级分类
//商品类别查询public function topParent(){ $where['commodType_depth'] = 1; $where['commodType_status'] = 1; $where['commodType_parentId'] = null; return $this->where($where)->get(['commodT原创 2017-05-12 11:33:58 · 2386 阅读 · 0 评论 -
lnmp开发laravel的nginx配置
### You should look at the following URL's in order to grasp a solid understanding# of Nginx configuration files in order to fully unleash the power of Nginx.# http://wiki.nginx.org/Pitfalls#原创 2017-06-08 11:22:38 · 633 阅读 · 0 评论