table.bootstrapTable('refresh',{url:'你的url'});
獲取當前登錄人信息
$this->auth就能獲取當前用戶信息,比如$this->auth->id
服務端導出Excel
https://ask.fastadmin.net/article/6055.html
在做導出的時候遇到了在本地開發沒問題,放到服務器上導出打開后亂碼,具體原因參見以下地址:
https://www.cnblogs.com/guangxiaoluo/articles/3336448.html
具體解決方案如下:
在輸出excel之前添加下面兩句代碼 ob_end_clean(); // Added by me ob_start(); // Added by me