后臺(tái)的列表右側(cè)菜單除了cid和mid外,能不能傳入文章的其他參數(shù),如標(biāo)題名、更新時(shí)間等。

<?php
return [
[
'name' => '站點(diǎn)權(quán)限', // 站點(diǎn)權(quán)限是插件的鏈接名稱
'icon' => 'fa fa-user', // 圖標(biāo)
'color' => 'blue', // 顏色class red green blue
'url' => SELF.'?c=bbb&m=index&mid={mid}&id={cid}', // 后臺(tái)鏈接:對(duì)于點(diǎn)擊的地址mid是模塊目錄,cid是內(nèi)容id
'murl' => SELF.'?c=bbb&m=index&mid={mid}&id={cid}', // 用戶中心鏈接:對(duì)于點(diǎn)擊的地址mid是模塊目錄,cid是內(nèi)容id
'uri' => '', // 對(duì)應(yīng)的uri權(quán)限判斷,后面章節(jié)會(huì)介紹權(quán)限寫法
'field' => '', // 統(tǒng)計(jì)數(shù)量的字段,填寫模塊內(nèi)容的主表字段,只能填寫int數(shù)字類型的字段
//'is_verify' => 1, // 是否顯示在后臺(tái)審核管理里面
'displayroder' => 10, // 排序方式,越到越靠后,v4.6.2以上支持
],
];
$this->mytable['link_var'] = 'html = html.replace(/\{id\}/g, row.id); html = html.replace(/\{cid\}/g, row.id); html = html.replace(/\{字段名\}/g, row.字段名); html = html.replace(/\{mid\}/g, "'.APP_DIR.'");';參考文檔:《Table操作類-列表右側(cè)鏈接和底部按鈕寫法》
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!