bucuo123 发表于 2019-3-24 16:09:00

Phpcms V9 调用随机文章的实现方法

Phpcms V9 调用随机文章的实现方法
调用代码如下:
复制代码代码如下:
{pc:content action="lists" catid="$catid" num="8" order="rand()" return="info"}

{loop $info $v}
[*,
{/loop}

{/pc}
上述代码只做了一点修改:order="rand()",其它与正常调用一样。
页: [1]
查看完整版本: Phpcms V9 调用随机文章的实现方法