迅睿CMS框架是一款PHP8高性能·簡單易用的CMS開源開發(fā)框架,基于MIT開源許可協(xié)議發(fā)布,免費(fèi)且不限制商業(yè)使用,是免費(fèi)開源的產(chǎn)品,以萬端互聯(lián)為設(shè)計(jì)理念,支持的微信公眾號、小程序、APP客戶端、移動端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
聯(lián)系官方銷售客服
1835022288
028-61286886
http://223987.com/doc/710.html
這個(gè)文章內(nèi)的附件id如何獲取的,有沒有上面辦法直接顯示文件大小和文件上傳的時(shí)間
可以的
參考文檔:《附件信息》
回復(fù)@迅??蚣芗夹g(shù)-實(shí)習(xí) 這個(gè)文檔地址我已經(jīng)貼在問題里了,我是問如何獲取上傳時(shí)間,id我拿到了
你把你的調(diào)用代碼發(fā)來,我給你小改小改
{module module=download catid=13 order=updatetime } {loop $t.fj $i $c} <a href="{dr_down_file($c.file)}" target="_blank" class="download-item sr_b"> {/loop} <div class="download-item-cell">{$t.title}</div> <div class="download-item-cell"> {loop $t.fj $i $c} {php $data = \Phpcmf\Service::C()->get_attachment($c.file);} {dr_format_file_size($data.filesize)} {/loop} </div> <div class="download-item-cell">{dr_date($t._inputtime, 'Y-m-d')}</div> <div class="download-item-cell"> <div class="download-img"> <img src="{HOME_THEME_PATH}images/download.svg" alt="" /> </div> <div class="download-img-act"> <img src="{HOME_THEME_PATH}images/download-active.svg" alt="" /> </div> </div> </a> {/module}
回復(fù)@迅睿框架技術(shù)-實(shí)習(xí)
{module module=download catid=13 order=updatetime } {loop $t.fj $i $c} <a target="_blank" href="{dr_down_file($c.file)}" target="_blank" class="download-item sr_b"> {/loop} <div class="download-item-cell">{$t.title}</div> <div class="download-item-cell"> {loop $t.fj $i $c} {php $data = \Phpcmf\Service::C()->get_attachment($c.file);} {dr_format_file_size($data.filesize)} 時(shí)間 {dr_date($data.inputtime)} {/loop} </div> <div class="download-item-cell">{dr_date($t._inputtime, 'Y-m-d')}</div> <div class="download-item-cell"> <div class="download-img"> <img src="{HOME_THEME_PATH}images/download.svg" alt="" /> </div> <div class="download-img-act"> <img src="{HOME_THEME_PATH}images/download-active.svg" alt="" /> </div> </div> </a> {/module}
可以的
參考文檔:《附件信息》
回復(fù)@迅??蚣芗夹g(shù)-實(shí)習(xí) 這個(gè)文檔地址我已經(jīng)貼在問題里了,我是問如何獲取上傳時(shí)間,id我拿到了
你把你的調(diào)用代碼發(fā)來,我給你小改小改
回復(fù)@迅睿框架技術(shù)-實(shí)習(xí)