热门关键词: laravel elasticsearch swoole laravelS docker 小坑 redis liunx mysql Siege jmeter composer jenkins git deploy golang django python pyhon 冒泡排序 php-cs-fixer alpine 字符串 pandas Java html Google授权 Amazon S3

PHP接口使用urlencode的一些坑

刚刚对接了,去哪网的国际机票 ,给对方传送参数时候需要json数据urlencode编码一下 ,遇到了几个坑记录下来。 首先,一个参数是需要去哪网方的一个数...

imax1

laraverl-admin 数据来自复杂SQL查询筛选报错

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'statistics' doesn't exist (SQL: select count(*) as aggregate from `stat...

imax1

docker mysqls数据库导入

首先将文件放到E:\docker\laradock\mysql\docker-entrypoint-initdb.d这个文件下面进入容器docker-comspore exec mysql bash进入根目录查看能看到docker-entrypo...

imax1

Docker-mysql外网访问

连接mysql mysql -u root –p输入密码后进入mysql。切换到mysql数据库mysql> use mysql; 然后执行下面的命令: mysql> update user set password_expired =...

imax1

php foreach跳出本次、当前循环及终止循环

continue:跳出本次循环break:终止循环exit:用来结束程序执行return: 用来结束一段代码 

imax1

SQLSTATE[42000]: Syntax error or access violation: 1055

laravel运行带有group by的sql时提示“SQLSTATE[42000]: Syntax error or access violation: 1055 'ave_price' isn't in GROUP BY..................

imax1

laradocker swoole

laravel swoole(基于laradocker,本人用的laravelS)一、1.修改.env文件中swoole=true,2.修改docker-compose.yml中增加映射端口 ports: - "950...

imax1

laravel elasticsearch

laravel elasticsearch的学习注:我这里的学习环境是在docker下面的学习先拉镜像docker pull docker.elastic.co/elasticsearch/elasticsearch:6.7.0你可以改名字...

imax1

laravel sql打印

1、DB::listen(function($query) { $bindings = $query->bindings; $sql = $query->sql; foreach ($bindings as $replace){ $value = is_numer...

imax1

laravel IFNULL

查询里面加条件判断->select(DB::Raw('a.*','IFNULL(b.price,a.price) as price'))

imax1