Typecho获取随机文章函数
function getRandomPosts($random=5){
$db = Typecho_Db::get();
$adapterName = $db->getAdapterName();//兼容非MySQL数据库
if($adapterName == '...
2019年07月29日
5512阅读
Typecho