搜索中心
全部 模块文档 模块 讨论 文档 问答
搜索 quickq-id.cfd , 共找到 49 条记录
搜索结果
[讨论] 如何打印传递的参数
问题描述: 如何打印这里 id  ,title 用户传入的参数 ?
更新时间:2023-09-19 15:36:46
[讨论] 文库系统首页分类显示
文库系统的这个用法可以指定循环某大类ID下的小类么 @foreach($categoryTree as $c){{$c['title']}}@endforeach
更新时间:2023-04-18 09:57:00
[讨论] crud 中如何加where条件 我要显示的数据是一部分
$builder         ->init('news')             ->field(function ($builder) { } 我要如何才能显示我想要的部分数据 比如 where id>100
更新时间:2023-09-12 10:46:38
[讨论] laravel 如何实现接口既可以匿名访问也可以登录状态访问?
laravel的一个问题,我简化了一下是这样。我想让访问接口 /a,未登录状态访问返回 0, 登录状态下返回 1,如何实现? 正常是这样。topic 状态为 1 时可以任何人访问,状态未 2 时,只有作者可以访问 // route.phpRoute::get('/topics/{topic}', [\App\Http\Controllers\Api\TopicController::class, 'show']) // controller$this->authorize('view', $topic); // TopicPolic...
更新时间:2024-03-08 22:58:09
[讨论] 题库搜素和题库标签均出现500,其他正常
问题描述: 题库搜素和题库标签均出现500,其他正常 [2024-01-04 08:29:50] product.ERROR: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'lztkcp.tkquestion_tag_map.tagId' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=o...
更新时间:2024-01-04 08:31:07
[讨论] 文库首页修改成最新上传显示 listCategoryLatest 可以加个转换成功状态的才显示吗?转换不成功的不显示
 <div class="row">                                        @if($c['listMode']==\Module\Wenku\Type\WenkuDocListMode::LIST_SIMPLE)                                            @foreach(\Module\Wenku\Util\WenkuDocUtil::listCategoryRecommendLatest($c['id'],12) as $record)                                                <div class="col-md-6 col-12">      ...
更新时间:2025-05-05 10:10:58
[讨论] 咨询一下,用户赞赏模块的配置
问题描述: 咨询一下,用户赞赏模块的配置 @include('module::MemberReward.View.pc.public.reward',['memberUserId'=>$note['memberUserId'],'biz'=>'note','bizId'=>$note['id']]) 我想对接到知识付费要怎么配置呢?
更新时间:2023-04-18 09:56:57
[讨论] 表单的multiSelect()编辑回填问题
问题描述: 反馈个bug,表单的multiSelect()编辑回填有问题,只会回填上id,无法根据下拉自动选中值。同样的方式,用checkbox()就没问题,能自动勾选。 环境信息: Laravel9 php8.2
更新时间:2024-06-12 23:39:34
[讨论] ModStart 中HasAdminQuickCRUD 的功能使用解析
HasAdminQuickCRUD 是ModStart 中的一个增删改查语法糖,用于快速构建一个增删改查页面。使用方式通常如下所示: class NewsController extends Controller{    use HasAdminQuickCRUD;    protected function crud(AdminCRUDBuilder $builder)    {        $builder            ->init('news')            ->field(function ($builder) {                $builder->id('id', 'ID'); ...
更新时间:2023-04-18 09:56:55
[讨论] 博客模块这句话很卡MySQL 该怎么调优 在哪里调优
# Time: 2023-04-25T11:55:36.706047Z # User@Host: doumiao[doumiao] @ localhost []  Id: 402364 # Query_time: 8774.208720  Lock_time: 0.000340 Rows_sent: 1  Rows_examined: 87702 SET timestamp=1682423736; select count(*) as aggregate from `blog` where `postTime` < '2023-04-25 09:29:22' and (`isPublished` = 1);
更新时间:2023-04-26 09:32:02
QQ
微信
客服