09 2023 档案
摘要:进入代码目录右键点击Git Bash Here 输入 git init 初始化仓库 设置提交者的用户名 git config --global user.name "****" 设置提交者的联系邮箱 git config --global user.email "*********@qq.com"
阅读全文
摘要:安装composer composer require lorine/oss-utils 控制器 use Lorine\OssUtils\OssService; public function upload(Request $request){ $data=$request->file('img')
阅读全文
摘要:$('#check').click(function () { $('.checks').prop('checked',$(this).prop('checked')); })
阅读全文
摘要:首先使用substr函数截取日期时间字符串的前19个字符(去除毫秒和时区部分),然后使用strtotime函数将其转换为Unix时间戳。接下来,我们使用date函数将Unix时间戳格式化为指定的日期时间字符串,并加上8小时的时差,以得到中国的正常时间。最后,我们使用echo语句输出结果。 请注意,上
阅读全文
摘要:首先官网下载http://ueditor.baidu.com/website/download.html#ueditorhttp://ueditor.baidu.com/website/download.html#ueditor 然后引入js(路径要注意一下) <!-- 配置文件 --> <scri
阅读全文