- 博客(82)
- 问答 (1)
- 收藏
- 关注
原创 PHPWord 又拍云图片导出被识别为 image/webp 无法导出的问题
【代码】PHPWord 又拍云图片导出被识别为 image/webp 无法导出的问题。
2024-06-21 10:28:16
370
原创 thinkphp5 导出 excel 没有下载 ,而是返回的二进制流,前端将二进制流转换位 excel下载
【代码】thinkphp5 导出 excel 没有下载 ,而是返回的二进制流,前端将二进制流转换位 excel下载。
2024-05-20 10:44:28
377
原创 golang 断点调试
步骤完成之后,在GOPATH\bin目录下会有一个dlv.exe,在goland>help>Edit Custom。如: dlv.path=C:/Users/liuxiaoxiang/go/bin/dlv.exe。dlv.path=你的gopath路径\dlv.exe(新的dlv.exe路径)说明proxy.golang.org网址被防火墙屏蔽了(ping。记住粘贴 Windows 路径 后斜杠替换成 “/”然后再次执行上述”go install …delve是go语言的debug工具。
2023-11-21 09:17:43
892
原创 thinkphp中使用Elasticsearch 7.0进行多表的搜索
提示:thinkphp中使用Elasticsearch 7.0进行多表的搜索:提示:以下是本篇文章正文内容,下面案例可供参考提示:这是简单例子, 注意’fields’ => [‘title’, ‘content’], 尝试使用搜索number型字段,索引报错, 貌似只支持txt类型字段搜索例如:以上就是今天要讲的内容,本文仅仅简单介绍了Elasticsearch的使用。
2023-09-02 23:23:19
1986
原创 thinkphp5队列的报错 [think\exception\ThrowableError] Type error: count(): Argument #1 ($value) must be
【代码】thinkphp5队列的报错 [think\exception\ThrowableError] Type error: count(): Argument #1 ($value) must be。
2023-08-24 11:20:26
996
原创 ESP8266显示gif动态图,使用U8g2库
一.代码#include <U8g2lib.h>//实现gif火柴人跑步动画// 定义GIF动画的帧数据const unsigned char frame1[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
2023-08-23 23:30:08
746
转载 关于TCPDF 扩展字体
一. 下载字体 例如 fzss.ttf, msyh.ttf, 下载下来的字体放在 tcpdf_addfont.php 同一级目录下即可。二. 执行命令行 加载字体。
2023-05-09 22:50:58
891
转载 composer require 报错 Problem 1....., Problem 2.... 问题
【代码】composer require 报错 Problem 1....., Problem 2.... 问题。
2023-05-08 22:23:28
1374
转载 Thinkphp-queue中exceeded the timeout of 60 seconds的问题
修改代码 vendor/topthink/think-queue/src/queue/command/Listen.php line 25~35。thinkphp/library/think/process/pipes/Windows.php 修改代码 line 199~221。
2023-04-28 08:52:08
939
原创 phpstorm断点还可以 在需要断点的地方使用xdebug_break();
phpstorm断点还可以 在需要断点的地方使用xdebug_break();
2023-04-23 16:58:02
94
原创 thinkphp5关于mongoDB报错No suitable servers found
username和password 没有密码不用输入。database.php配置文件导致报错的。
2023-04-01 23:45:54
773
原创 关于thinkphp5.0版本安装composer require topthink/think-mongo
成功安装 topthink/think-mongo。
2023-04-01 22:39:54
702
转载 laravel 在安装spatie/laravel-permission 包执行表迁移文件时候报错
laravel 在安装spatie/laravel-permission 包执行表迁移文件时候报错
2022-11-16 11:40:41
1367
转载 thinkphp firebase/jwt-token, refresh_token使用
thinkphp firebase/jwt-token, refresh_token使用
2022-09-08 15:24:24
1348
原创 git pull 项目时候报错
git pull 报错的时候 fatal: No remote repository specified. Please, specify either a URL or aremote name from which new revisions should be fetched.
2022-08-05 13:04:34
728
转载 layui Uncaught TypeError: s.parents is not a function
Uncaught TypeError: s.parents is not a function
2022-08-05 12:06:34
2138
转载 将centos上现有的项目添加到git版本库
一. linux服务器现有项目添加到版本库前提服务器搭建好gitcd /www/wwwroot/h5.test.com git init ls -al项目里会出现仓库drwxr-xr-x 7 root root 4096 May 30 18:23 .git git add .git commit -m "first commit"推送到服务端git push origin master到了这一步会报错remote: error:remote: error: You
2022-05-30 22:14:02
158
原创 nginx省略 index.php
一. nginx省略 index.php# 省略 index.php location /{ if (!-e $request_filename){ rewrite ^/(.*)$ /index.php?s=$1 last; break; }}
2022-05-07 23:04:48
1339
转载 搭建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
849
空空如也
thinkphp6引入 yansongda web支付数据格式解析报错
2022-07-05
TA创建的收藏夹 TA关注的收藏夹
TA关注的人