上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 25 下一页
摘要: 1、函数说明 array_multisort():对多个数组或多维数组进行排序。 参数默认:升序,SORT_ASC=升序,SORT_DESC=降序 2、例子 需求:货位号 A-01-02-03(区域-通道-货架层-货位),现在要数据进行按【区域、通道、货位】升序排序 $arr = [ ['sku' 阅读全文
posted @ 2022-08-19 16:14 pine007 阅读(81) 评论(0) 推荐(0)
摘要: 1、场景 二维数组中,如果要取出满足多个字段条件的数据时,通常使用遍历的方式。 laravel 提供collection keyBy 可以将多个字段格式化作为键名,不用写foreach遍历。 2、例子 需求:获取 班级=one,学生姓名=zhangsan 的年龄 $arr = [ ['class'= 阅读全文
posted @ 2022-08-18 18:58 pine007 阅读(779) 评论(0) 推荐(0)
摘要: 原文:http://www.codebaoku.com/it-go/it-go-256120.html 1、获取镜像 确保运行了docker客户端 docker pull golang #下载golang镜像 docker run -d --privileged=true golang #构建镜像, 阅读全文
posted @ 2022-08-16 14:37 pine007 阅读(1961) 评论(0) 推荐(0)
摘要: 原文:https://yeasy.gitbook.io/docker_practice/install/ubuntu 1、卸载旧版本 $ sudo apt-get remove docker \ docker-engine \ docker.io 2、使用APT安装 鉴于国内网络问题,强烈建议使用国 阅读全文
posted @ 2022-08-16 11:55 pine007 阅读(72) 评论(0) 推荐(0)
摘要: 原文:https://blog.csdn.net/u014453443/article/details/88049804 制作U盘引导盘,安装Ubuntu18.04 LTS系统 一、下载Ubuntu18.04 LTS系统的iso文件 镜像下载地址 https://www.ubuntu.com/dow 阅读全文
posted @ 2022-08-13 10:46 pine007 阅读(3338) 评论(0) 推荐(0)
摘要: phpstorm https://www.jetbrains.com/phpstorm/download/other.html goland https://www.jetbrains.com/zh-cn/go/download/other.html pycharm https://www.jetb 阅读全文
posted @ 2022-08-10 10:07 pine007 阅读(58) 评论(0) 推荐(0)
摘要: 官方文档(译):https://segmentfault.com/a/1190000021690551 1、基本 1.1、l5-repository 是什么 laravel5 的一个扩展包,抽象数据库层,主要用于封装数据查询和存储逻辑。 2、安装 安装 composer require prettu 阅读全文
posted @ 2022-08-09 14:26 pine007 阅读(676) 评论(0) 推荐(0)
摘要: 原文:https://blog.csdn.net/sqlquan/article/details/87795918 1、封装 /** * 获取一个日期范围内的日期 * @param int $interval 日期范围 * @param string $type 取值类型,-:获取之前日期;+:获取 阅读全文
posted @ 2022-07-26 16:19 pine007 阅读(580) 评论(0) 推荐(0)
摘要: 1、问题 $list = [ ['id'=>1, 'name'=>'不知火舞', 'location'=>'中单'], ['id'=>2, 'name'=>'橘右京', 'location'=>'打野'], ['id'=>3, 'name'=>'马可波罗', 'location'=>'ADC'], 阅读全文
posted @ 2022-07-18 16:55 pine007 阅读(161) 评论(0) 推荐(0)
摘要: 1、数据表 table1: id, name, country_codes ... country_codes字段值:AD,AE,AF,AG,AI,AL,AM,AO,AR,AT,AU,AZ,CN ... 2、查询 要求:查询国家编码包含'CN'的记录 2.1、FIND_IN_SET() FIND_I 阅读全文
posted @ 2022-07-14 09:57 pine007 阅读(1099) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 25 下一页