如何让文章调用的时候显示用户组为4的文章呢 迅睿框架 更新 2021-01-19 10:35:06 litom {module module=news catid=3 gid=4 JSON_wzsx=1 order=inputtime num=3}这样的一段语句。大概意思就是文章模块,栏目编号(catid)=3,自定义属性(wzsx)=1。问题是这样的:gid是用户组,但是它在用户表里面,如何让文章调用的时候显示用户组为4的文章呢?这个该怎么写呢?
{php $where=urlencode("`uid` in (select uid from `dr_member_group_index` where `gid` in (4))");} {module module=news catid=3 where=$where JSON_wzsx=1 order=inputtime num=3}