聯(lián)系官方銷售客服
1835022288
028-61286886
Table操作類,在會(huì)員,與后臺(tái)都可以增,刪,改,我想在前端頁(yè)面也這樣用,但發(fā)現(xiàn),列表inde(),和刪除del()不行,請(qǐng)指點(diǎn)一下,
public function index() { list($tpl) = $this->_List(); // 完成table自動(dòng)查詢并分頁(yè)顯示動(dòng)作 \Phpcmf\Service::V()->display($tpl); // 設(shè)定顯示模板 }
public function del() { $this->_Del( \Phpcmf\Service::L('Input')->get_post_ids(), // 獲取批量刪除id號(hào) null, // 刪除之前的函數(shù)驗(yàn)證 null, // 刪除之后的函數(shù)處理 \Phpcmf\Service::M()->dbprefix($this->init['table']) // 設(shè)定刪除表名稱 ); }
理論上是可以的,實(shí)在不行就自己寫刪除代碼呀
回復(fù)@優(yōu)速開發(fā)工作室
多謝寶貴意見!,有新的思路了!,再次謝謝!