会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
你的男孩
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
···
9
下一页
2021年4月14日
PHP 使用lustre/php-dfa-sensitive敏感词过滤
摘要: 1、扩展安装 composer require lustre/php-dfa-sensitive 2、推荐的敏感词库 https://codeload.github.com/jkiss/sensitive-words/zip/refs/heads/master 3、使用: 把下载好的词库放到项目本地
阅读全文
posted @ 2021-04-14 19:16 你的男孩
阅读(1305)
评论(0)
推荐(0)
2020年11月18日
TP5混合查询 and or 联合查询写法
摘要: $keyword = $post['keyword']; $keyword=isset($keyword) && !empty($keyword) ? trim($keyword) : null; $where=[]; if(!is_null($keyword)){ $where['u.nikena
阅读全文
posted @ 2020-11-18 11:30 你的男孩
阅读(1332)
评论(0)
推荐(0)
2020年5月21日
thinkphp 使用paginate分页搜索带参数
摘要: 最近用TP自己的paginate分页,当条件搜索时点击下一页时搜索条件就为空了,自带paginate比较方便的还是 所以我们可以使用下面的方法,就可以了(GET传参) ->paginate(15,false,['query'=>request()->param()]); 有where条件拼接没关系,
阅读全文
posted @ 2020-05-21 09:24 你的男孩
阅读(1333)
评论(0)
推荐(0)
2020年5月11日
解决composer install遇到:Your requirements could not be resolved to an installable set of packages
摘要: 解决办法:直接忽略版本 composer install --ignore-platform-reqs 或者 composer update --ignore-platform-reqs
阅读全文
posted @ 2020-05-11 11:37 你的男孩
阅读(8178)
评论(0)
推荐(1)
2020年5月9日
使用PhpOffice\PhpSpreadsheet 实现Excel多sheet导出
摘要: 如图 最近要做一个这样的导出,一个团长对应一个sheet,然后一键导出 使用PhpOffice\PhpSpreadsheet实现 直接上代码 /** * 多sheet的导出 * @author bwy <xxx@xxx.com> * @param [type] $data_array * @retu
阅读全文
posted @ 2020-05-09 14:44 你的男孩
阅读(4156)
评论(0)
推荐(0)
2020年3月11日
LINUX中“没有可用的软件包XX,但是它被其他软件包引用”的解决方法
摘要: 今天刚在虚拟机上安装好了ubuntu系统,在执行sudo apt install net-tools 命令时报错“没有可用的软件包net-tools,但是它被其他软件包引用” 执行命令 sudo apt-get update 出现这样就可以了,然后在继续执行你的安装命令就OK了 原博:https:/
阅读全文
posted @ 2020-03-11 13:56 你的男孩
阅读(4516)
评论(0)
推荐(0)
2020年3月4日
centos6.8 Linux的镜像
摘要: 链接:https://pan.baidu.com/s/1hPrxLk2FGeAq3hUuB9krFQ 提取码:9nvm
阅读全文
posted @ 2020-03-04 10:02 你的男孩
阅读(766)
评论(0)
推荐(0)
VMware新建一个Red Hat Linux系统的虚拟机
摘要: 使用VMware新建一个Linux系统虚拟机(全) 我们将其分为两步,1:新建虚拟机;2:安装Red Hat Enterprse Linux 6操作系统 1.首先我们新建一个虚拟机,先不安装操作系统,稍后再对其安装Linux系统。 新建虚拟机步骤如下: 打开VMware软件,菜单栏点击“文件(F)”
阅读全文
posted @ 2020-03-04 09:57 你的男孩
阅读(664)
评论(0)
推荐(0)
Centos yum安装出现“Could not retrieve mirrorlist“
摘要: 问题描述: CentOS 6.x minimal(最小化) 安装, CentOS yum install net-tools 时出现“Could not retrieve mirrorlist ”, 原因: a.修改网络配置 vi /etc/sysconfig/network-script/ifcf
阅读全文
posted @ 2020-03-04 09:55 你的男孩
阅读(570)
评论(0)
推荐(0)
2020年2月28日
TP框架上传图片至阿里云oss
摘要: 首先安装阿里云oss扩展: composer require aliyuncs/oss-sdk-php 如果这个安装不上可以直接下载SDK的包: 链接:https://pan.baidu.com/s/1QD0O2e55CHylGQjoWHXEJQ 提取码:q4m6 下载解压后重命名为aliyun-o
阅读全文
posted @ 2020-02-28 16:52 你的男孩
阅读(887)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
9
下一页
公告