摘要: 进入代码目录右键点击Git Bash Here 输入 git init 初始化仓库 设置提交者的用户名 git config --global user.name "****" 设置提交者的联系邮箱 git config --global user.email "*********@qq.com" 阅读全文
posted @ 2023-09-27 19:19 哎呀呀哈 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 安装composer composer require lorine/oss-utils 控制器 use Lorine\OssUtils\OssService; public function upload(Request $request){ $data=$request->file('img') 阅读全文
posted @ 2023-09-27 17:38 哎呀呀哈 阅读(14) 评论(0) 推荐(0) 编辑
摘要: $('#check').click(function () { $('.checks').prop('checked',$(this).prop('checked')); }) 阅读全文
posted @ 2023-09-27 15:18 哎呀呀哈 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 首先使用substr函数截取日期时间字符串的前19个字符(去除毫秒和时区部分),然后使用strtotime函数将其转换为Unix时间戳。接下来,我们使用date函数将Unix时间戳格式化为指定的日期时间字符串,并加上8小时的时差,以得到中国的正常时间。最后,我们使用echo语句输出结果。 请注意,上 阅读全文
posted @ 2023-09-26 10:00 哎呀呀哈 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 首先官网下载http://ueditor.baidu.com/website/download.html#ueditorhttp://ueditor.baidu.com/website/download.html#ueditor 然后引入js(路径要注意一下) <!-- 配置文件 --> <scri 阅读全文
posted @ 2023-09-25 23:10 哎呀呀哈 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 微信小程序使用接口鉴权时要用到jwt token值需要放在header中 在wx.request请求中需要将token值放在header信息中 wx.request({ url: 'http://www.tp.com/api.php/show', header:{ // wx.getStorageS 阅读全文
posted @ 2023-08-26 14:54 哎呀呀哈 阅读(106) 评论(0) 推荐(0) 编辑
摘要: composer composer require phpmailer/phpmailer 封装 // 收件人的邮箱 $toemail = '1846869817@qq.com'; $mail = new PHPMailer(); // 使用SMTP服务 $mail->isSMTP(); // 编码 阅读全文
posted @ 2023-08-10 21:37 哎呀呀哈 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 假如在one分支上并且one提交项目到仓库完毕 现在想要把one分支合并到master分支下 首先切换到master分支下 git checkout master 把远程master上的代码pull下来 git pull origin master 把one分支的代码合并到master上 git m 阅读全文
posted @ 2023-08-07 13:58 哎呀呀哈 阅读(47) 评论(0) 推荐(0) 编辑
摘要: header: { 'Authorization': _this.token }, 使用ThinkPHP的话需要在public下静态文件添加 <IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On R 阅读全文
posted @ 2023-08-07 11:52 哎呀呀哈 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 无需下载插件 一行命令搞定!!!在win11使用svn提交更新 要一直用右键来操作 要点击显示更多选项才能显示出来提交更新等功能 所以恢复到win10右键菜单模式就方便多了 右键开始选择管理员终端 打开管理员终端运行命令: reg.exe add "HKCU\Software\Classes\CLS 阅读全文
posted @ 2023-07-24 14:04 哎呀呀哈 阅读(202) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示