摘要: 点击查看代码 <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Category_id')}:</label> <div class="col-xs-12 col-sm-8"> <input 阅读全文
posted @ 2024-07-18 17:24 php冉 阅读(8) 评论(0) 推荐(0) 编辑
摘要: Ghostscript 是一个没有内置在 Windows 上的命令行库。首先,我们需要从链接 https://ghostscript.com/releases/gsdnld.html 安装 Ghostscript。 根据你的操作系统版本下载 Ghostscript 文件。该文件将是这样的: gs95 阅读全文
posted @ 2024-06-25 18:21 php冉 阅读(109) 评论(0) 推荐(0) 编辑
摘要: TP5 点击查看代码 Db::name( 'song' )->where( 'id', $song_id )->setDec( 'song_number', 5 );//给song_number减少5 Db::name( 'song' )->where( 'id', $song_id )->setI 阅读全文
posted @ 2024-06-25 10:53 php冉 阅读(176) 评论(0) 推荐(0) 编辑
摘要: composer安装组件 两个都要安装! composer require setasign/fpdi composer require setasign/fpdf 点击查看代码 $pdf = new Fpdi(); $page_count1 = $pdf->setSourceFile("./68/ 阅读全文
posted @ 2024-06-12 16:41 php冉 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 点击查看代码 if ($handle = opendir('.')) { while (false !== ($entry = readdir($handle))) { if ($entry != '.' && $entry != '..') { echo "$entry\n"; } } close 阅读全文
posted @ 2024-06-12 15:42 php冉 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 点击查看代码 composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ //显示当前镜像 composer config -g --list --verbose //解除镜像 composer co 阅读全文
posted @ 2024-06-12 14:35 php冉 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 点击查看代码 location ~* (runtime|application)/{ return 403; } location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; } } 阅读全文
posted @ 2024-06-12 14:05 php冉 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 一、修改config.php文件 点击查看代码 //是否允许未知来源的插件压缩包 'unknownsources' => true, 二、修改.env文件,开启debug调试模式 点击查看代码 debug = true trace = true 三、/vendor/karsonzhang/fasta 阅读全文
posted @ 2024-05-22 11:19 php冉 阅读(1071) 评论(0) 推荐(0) 编辑
摘要: 点击查看代码 const result = this.$uploader.upload2qiniu(lists[i].url) result.then(res=>{ console.log(res) }) 阅读全文
posted @ 2024-05-13 11:32 php冉 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 点击查看代码 $meal=Db::name('meal_cookbook')->where('cookbook_name', 'like', '%'.$param['cookbook_name'].'%')->where(function ($query) { $map1[] = ['uid', ' 阅读全文
posted @ 2024-05-13 11:31 php冉 阅读(20) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示