修复detail不显示相关推荐图片

This commit is contained in:
李志强 2025-05-20 09:17:42 +08:00
parent 3a3fed529c
commit 9a7e74c7fd

View File

@ -131,7 +131,7 @@ class ProgramController extends BaseController
'p.id',
'p.title',
'p.desc',
'IF(p.icon IS NULL OR p.icon = "", c.icon, p.icon) as icon'
'COALESCE(p.icon, c.icon) as icon'
])
->order('p.id DESC')
->limit(3)