修复detail不显示相关推荐图片
This commit is contained in:
parent
3a3fed529c
commit
9a7e74c7fd
@ -131,7 +131,7 @@ class ProgramController extends BaseController
|
|||||||
'p.id',
|
'p.id',
|
||||||
'p.title',
|
'p.title',
|
||||||
'p.desc',
|
'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')
|
->order('p.id DESC')
|
||||||
->limit(3)
|
->limit(3)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user