摘要: lnmp环境搭建(linux+Nginx + Mysql + PHP) 阿里云文章 https://help.aliyun.com/document_detail/97251.html CSDN https://blog.51cto.com/4690837/2379081 配置mysql远程登录 h 阅读全文
posted @ 2021-03-21 13:04 潇宸1998 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 一 丶 面向对面,面向过程 二 丶 shell定时发布,发送邮件 三 丶 php7新特性 四 丶 3 + ‘123a’ 的值 五 丶 数组去重几种方法 array_unique() 去重,移除重复的值,但是,如果你尝试在一个大的数组里使用array_unique()函数,它会运行地慢一些 array 阅读全文
posted @ 2020-12-17 21:41 潇宸1998 阅读(119) 评论(0) 推荐(0) 编辑
摘要: wamp环境下安装thinkphp5.1 https://blog.csdn.net/piaolingjijie/article/details/79121249 Navicat Premium 12 安装与破解 Phpstorm 2019 最新 激活码activation code https:/ 阅读全文
posted @ 2019-09-03 09:31 潇宸1998 阅读(499) 评论(0) 推荐(1) 编辑
摘要: The stream or file "/data/www/laravel/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denie Web服务器用户和组依赖于你的Web服务器和操作系 阅读全文
posted @ 2023-09-01 22:59 潇宸1998 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 'amount|价格' => ['require', 'max:128', 'float','>:0', 'regex' => '^(([1-9]{1}\d*)|(0{1}))(\.\d{1,2})?$'], 阅读全文
posted @ 2023-06-08 16:14 潇宸1998 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-03-14 18:00 潇宸1998 阅读(6) 评论(0) 推荐(0) 编辑
摘要: //自动写入时间格式 protected $autoWriteTimestamp = 'datetime'; //自动完成 protected $auto = []; protected $insert = []; protected $update = ['update_time']; 适合有些字 阅读全文
posted @ 2023-01-16 18:10 潇宸1998 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 登陆页面加入以下代码 $(document).ready(function () { if (window != top) { top.location.href = location.href; } }); 阅读全文
posted @ 2023-01-09 13:49 潇宸1998 阅读(21) 评论(0) 推荐(0) 编辑
摘要: var range = document.createRange(); range.selectNode(document.querySelector('#元素id')); var selection = window.getSelection(); if (selection.rangeCount 阅读全文
posted @ 2022-11-29 17:35 潇宸1998 阅读(14) 评论(0) 推荐(0) 编辑
摘要: var btnSendCode = document.getElementById('btnSendCode') function getcode() { let username = $("input[name=username]").val(); var loading = layer.load 阅读全文
posted @ 2022-11-24 17:37 潇宸1998 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 需求: 在验证器 validate/User.php 中 想对邮箱的格式和重复性进行验证(验证是否和别人的重复,排除自己的) 过程: 验证规则定义如下: 验证场景定义如下: 结果: 这样子定义没有生效checkEmail规则没有生效,后面经过测试email规则也没有生效(因为前端做了email验证, 阅读全文
posted @ 2022-10-13 17:41 潇宸1998 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 支付发展历程——带你了解支付背后的那些事儿 https://weibo.com/ttarticle/p/show?id=2310474554065659953290 中国支付清算体系迭代历程 https://zhuanlan.zhihu.com/p/42815828 阅读全文
posted @ 2022-07-06 16:58 潇宸1998 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 加个 autocomplete="off" 就好了 阅读全文
posted @ 2022-06-22 10:05 潇宸1998 阅读(6) 评论(0) 推荐(0) 编辑