5
织梦调用新的模型中的自定义属性
source link: https://www.80shihua.com/archives/1315
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
织梦调用新的模型中的自定义属性
{dede:field name='array' runphp='yes'} @me=@me['title'];{/dede:field}
一次调用多个属性
{dede:field name='array' runphp='yes'} if (@me['shorttitle']=='') @me=@me['title'];else @me=@me['shorttitle'];{/dede:field}
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK