muban大师 发表于 2019-5-30 09:00:41

织梦如何根据栏目ID获取栏目的静态链接

$row = $dsql->GetOne("select * from `dede_arctype` where id = 1");//1为栏目的id
        $typeurl = GetTypeUrl($row['typeid',,MfTypedir($row['typedir',)]$row['isdefault',,$row['defaultname',,
          $row['ispart',,$row['namerule2',,$row['moresite',,$row['siteurl',,$row['sitepath',);
        echo $typeurl;die;
页: [1]
查看完整版本: 织梦如何根据栏目ID获取栏目的静态链接