1、文件:app/dao/product/product/StoreProductDao.php
2、復(fù)制如下代碼:
->when(isset($where['pid']) && $where['pid'] !== '', function ($query) use ($where) {
$query->where('a.pid', $where['pid']);
})
3、放在下圖所在位置,方法名:getCount
4、重啟swoole
1、文件:app/dao/product/product/StoreProductDao.php
2、復(fù)制如下代碼:
->when(isset($where['pid']) && $where['pid'] !== '', function ($query) use ($where) {
$query->where('a.pid', $where['pid']);
})
3、放在下圖所在位置,方法名:getCount
4、重啟swoole
碳中和煉金術(shù)士 最后編輯于2024-09-05 09:21:34
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}} LV.{{ item.user_info.bbs_level }}
作者 管理員 企業(yè)
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回復(fù) {{itemc.comment_user_info.nickname}}{{itemf.name}}
相關(guān)推薦
快速安全登錄
微信登錄/注冊
{{ bind_phone ? '綁定手機(jī)' : '手機(jī)登錄'}}