建站资讯

Lecms灵活性URL支持的变量

来源:帝国CMS模板网 作者:冷兮め 时间:2026-07-05
浏览:35 收藏 点赞(0)
简介:个人不建议使用灵活型URL: {cid} 分类ID {mid} 模型ID {id} 内容ID {alias} 内容别名 {cate_alias} 分类别名 {password} 加密 {ymd} 年月日 {y} 年 {m} 月 {d} 日 {auth_key} Auth Key {hashids} HashID --------------可以组合的形式如下: cid和id mid和id cate_alias和id

个人不建议使用灵活型URL:

{cid} 分类ID
{mid} 模型ID
{id} 内容ID
{alias} 内容别名
{cate_alias} 分类别名
{password} 加密
{ymd} 年月日
{y} 年
{m} 月
{d} 日
{auth_key} Auth Key
{hashids} HashID

--------------可以组合的形式如下:
cid和id
mid和id
cate_alias和id
password
alias
hashids

如果只有文章模型,可以单独的 id, 比如 post/1.html 这种形式
在线
客服