php
qq_27878777
这个作者很懒,什么都没留下…
展开
-
thinkphp中使用Elasticsearch 7.0进行多表的搜索
提示:thinkphp中使用Elasticsearch 7.0进行多表的搜索:提示:以下是本篇文章正文内容,下面案例可供参考提示:这是简单例子, 注意’fields’ => [‘title’, ‘content’], 尝试使用搜索number型字段,索引报错, 貌似只支持txt类型字段搜索例如:以上就是今天要讲的内容,本文仅仅简单介绍了Elasticsearch的使用。原创 2023-09-02 23:23:19 · 1880 阅读 · 0 评论 -
laravel 在安装spatie/laravel-permission 包执行表迁移文件时候报错
laravel 在安装spatie/laravel-permission 包执行表迁移文件时候报错转载 2022-11-16 11:40:41 · 1178 阅读 · 0 评论 -
wangeditor 回显内容,上传图片,上传视频等
【代码】wangeditor 回显内容,上传图片,上传视频等。原创 2022-09-23 17:15:47 · 638 阅读 · 0 评论 -
thinkphp firebase/jwt-token, refresh_token使用
thinkphp firebase/jwt-token, refresh_token使用转载 2022-09-08 15:24:24 · 1242 阅读 · 0 评论 -
spreadsheet 导出 excel表格
spreadsheet 导出 excel 表格转载 2022-07-25 14:40:49 · 1012 阅读 · 0 评论 -
apache 压力测试工具 ab ,带post参数,token请求
apache 压力测试工具 ab ,带post参数,token请求原创 2022-07-14 11:15:04 · 3130 阅读 · 0 评论 -
二维格式数组格式索引下标连续问题导致 返回json 格式问题
二维格式数组格式索引下标连续问题导致 返回json 格式问题原创 2022-06-24 13:47:44 · 258 阅读 · 0 评论 -
搭建git 仓库自动部署
一. 新建用户 phpercd /home/phper/.sshvim authorized_keys二.将客户端用户公钥 C:\Users\用户.ssh里的 id_local_rsa.pub 复制到上一步 authorized_keys里面三.打开RSA认证打开一下三项配置前的注释,若没有则在最后添加RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_key转载 2022-05-06 14:43:49 · 798 阅读 · 0 评论 -
postman里面使用 xdebug 断点调试
postman里面使用 xdebug 断点调试[Xdebug]zend_extension=D:/phpstudy_pro/Extensions/php/php7.3.4nts/ext/php_xdebug.dllxdebug.collect_params=1xdebug.collect_return=1xdebug.collect_vars = 1xdebug.auto_trace=1xdebug.trace_output_dir=D:/phpstudy_pro/Extensions/php转载 2022-04-22 16:06:17 · 970 阅读 · 0 评论 -
thinkphp6 跨域问题
thinkphp6 跨域问题https://blog.csdn.net/mouday/article/details/117781685<?php/** * Created by PhpStorm. * User: wangkxin@foxmail.com * Date: 2022/4/20 * Time: 14:05 */namespace app\middleware;use think\middleware\AllowCrossDomain;class Allo转载 2022-04-20 15:03:10 · 2351 阅读 · 0 评论 -
阿里云对象存储OSS,OSS Browser工具使用
参考地址https://www.budongyun.com/oss/2883/1.创建用户2.添加权限3.创建用户 AccessKey4.创建AK完成后记得下载5.登录转载 2022-04-14 21:42:06 · 359 阅读 · 0 评论 -
thinkphp header头带参数,post请求获取不到值的问题
$.ajax({ type:"POST", url:"http://walkv1.top/api/gift/conv", // url:"http://backend.huiqingoo.com/api/gift/conv", dataType:"json", data:{"id":21}, beforeSend:..原创 2022-04-14 00:42:25 · 1303 阅读 · 0 评论 -
thinkphp6定时任务 EasyTak
一. 安装 composer require easy-task/easy-task二. 创建类 php think make:command Task task<?phpdeclare (strict_types=1);namespace app\command;use think\console\Command;use think\console\Input;use think\console\input\Argument;use think\console\input\Op转载 2022-04-01 10:42:18 · 1449 阅读 · 0 评论 -
$keyOrKeyArray must be an instance of Firebase\\JWT\\Key key or an array of Firebase\\JWT\\Key keys
1.JWT 出现的问题此类引入 use Firebase\JWT\Key; /** * 验证token * @return \think\response\Json */ public function verifyjwt() { $jwt= input("jwt"); $key = md5('dd'); //jwt的签发密钥,验证token的时候需要用到 try{ $jwtAu原创 2022-03-19 22:17:43 · 259 阅读 · 0 评论 -
Ztree 无限分类
无限分类的节点增删改查参考 https://www.cnblogs.com/melodygkx/p/10027600.html拖拽操作 https://www.cnblogs.com/fengch/p/9343144.html效果图<!DOCTYPE html><HTML><HEAD> <TITLE>jQuery自定义编辑的树形菜单代码 - 站长素材</TITLE> <meta http-equiv="conte原创 2022-02-25 13:59:02 · 321 阅读 · 0 评论 -
phpstrom 断点调试 xdebug
php.ini 基本配置,[XDebug]zend_extension=php_xdebug.dllxdebug.remote_enable = 1xdebug.remote_autostart = 1xdebug.remote_handler = dbgpxdebug.remote_host = localhostxdebug.remote_mode = reqxdebug.remote_enable = Onxdebug.remote_port = 9001 // 端口默认是9原创 2022-02-16 10:46:11 · 90 阅读 · 0 评论 -
上传大文件无法加载响应数据: No data found for resource with given identifier
项目中碰到上传大文件报错 无法加载响应数据: No data found for resource with given identifier配置 php.ini 参考https://blog.csdn.net/qq_15941409/article/details/106719128若是apache 请配置httpd.conf 末尾加上<IfModule mod_fcgid.c> AddHandler fcgid-script .fcgi FcgidConnect转载 2021-12-07 15:34:04 · 16745 阅读 · 4 评论 -
记录memcached 安装使用
记录memcached 安装使用https://blog.csdn.net/focus_yun/article/details/50812070转载 2021-11-04 18:18:58 · 59 阅读 · 0 评论