会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
清
博客园
首页
新随笔
联系
订阅
管理
随笔 - 13
文章 - 0
评论 - 0
阅读 -
5640
念两句诗
2022年8月13日
tp6+ElasticSearch+Kibana+高亮 多条件搜索接口
摘要: /** * 添加索引 * @return string */ public static function createDatabase() { //本地调用实例化 $client = ClientBuilder::create()->setHosts(['127.0.0.1:9200'])->bu
阅读全文
posted @ 2022-08-13 09:05 清淤
阅读(171)
评论(0)
推荐(1)
2022年2月14日
laravel 实现敏感词过滤
摘要: 应用场景用户评论过滤:对网站用户的评论信息进行检测,审核出涉及违规内容,保证良好的用户体验注册信息筛查:对用户的注册信息进行筛查,避免黑产通过用户名实现违规信息的推广文章内容审核:对UGC文章内容进行多个维度的审核,避免因内容违规导致的APP下架等损失开通应用1.内容审核控制台: 百度智能云-登录
阅读全文
posted @ 2022-02-14 21:04 清淤
阅读(233)
评论(0)
推荐(0)
2021年10月29日
查看宝塔的访问地址
摘要: 服务器输入命令 bt default
阅读全文
posted @ 2021-10-29 09:49 清淤
阅读(404)
评论(0)
推荐(0)
2021年10月23日
layui 点击按钮弹出另一个界面
摘要: html:按钮外层div一定要写id,button要写type=“button”和data-method="notice"和后面要用 <div **id="layerDemo**" style="margin-top:10px "> <button type="button" class="layu
阅读全文
posted @ 2021-10-23 11:29 清淤
阅读(1911)
评论(0)
推荐(1)
2021年10月20日
tp5 实现excel导出
摘要: 首先下载下来 composer composer require phpoffice/phpexcel 将下载好的PHPExcel的第三方类放置在extend中(放置第三方类的地方) <div> <form action="{:url('admin/upimg/excel')}" method="p
阅读全文
posted @ 2021-10-20 09:42 清淤
阅读(435)
评论(0)
推荐(0)
2021年10月19日
无限极分类和上下级展示
摘要: //递归函数 实现无限级分类列表 function get_cate_list($list,$pid=0,$level=0) { static $tree = array(); foreach($list as $row) { if($row['pid']==$pid) { $row['level'
阅读全文
posted @ 2021-10-19 20:47 清淤
阅读(102)
评论(0)
推荐(0)
2021年9月12日
ThinkPHP5.0+七牛云SDK文件上传
摘要: 一、问:为什么建议大家使用对象存储 对象存储可以简单理解为用来存储图片、音频、视频等非结构化数据的数据池。相对于主机服务器,具有读写速度快,利于分享的特点。我为什么建议大家使用对象存储?我总结了这六点。 1、网站数据动静分离,大幅提升网页性能 一般情况下,我们都是建议使用主机服务器和对象存储分工合作
阅读全文
posted @ 2021-09-12 19:55 清淤
阅读(297)
评论(0)
推荐(0)
2021年9月3日
layui 即点即改
摘要: 前端 <script type="text/html" id="buttonTpl"> {{# if(d.goods_is == 1){ }} <button class="layui-btn layui-btn-xs" lay-event="show">正常</button> {{# } else
阅读全文
posted @ 2021-09-03 11:01 清淤
阅读(114)
评论(0)
推荐(0)
2021年9月2日
layui 文件上传
摘要: 前端 <div class="layui-upload"> <button type="button" class="layui-btn" id="test1">上传图片</button> <input type="hidden" class="file" name="file" id="demoT
阅读全文
posted @ 2021-09-02 10:14 清淤
阅读(791)
评论(0)
推荐(0)
2021年8月28日
短信宝发送
摘要: public function read() { $pwd = md5(123456);//短信宝的密码 $code = rand(1000,9999); $c = '【下雨苏里】你的验证码是:'.$code.',3分钟内有效!'; $url ="http://api.smsbao.com/sms?
阅读全文
posted @ 2021-08-28 10:39 清淤
阅读(65)
评论(0)
推荐(0)
下一页
公告
昵称:
清淤
园龄:
4年6个月
粉丝:
3
关注:
3
+加关注
<
2025年6月
>
日
一
二
三
四
五
六
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
随笔档案
2022年8月(1)
2022年2月(1)
2021年10月(4)
2021年9月(3)
2021年8月(2)
2021年6月(2)
阅读排行榜
1. layui 点击按钮弹出另一个界面(1911)
2. layui 文件上传(791)
3. ThinkPHP5 解决跨域问题(657)
4. tp5 实现excel导出(435)
5. 查看宝塔的访问地址(404)
推荐排行榜
1. tp6+ElasticSearch+Kibana+高亮 多条件搜索接口(1)
2. layui 点击按钮弹出另一个界面(1)
3. JWT实现TP5创建和验证(1)
点击右上角即可分享