
樓主是直接數(shù)據(jù)庫增加“置頂”數(shù)據(jù),本身系統(tǒng)沒有文檔屬性直接有增加功能的,所以就存在不寫入數(shù)據(jù)庫的問題。這個要看后續(xù)是否有需要增加這塊。對于目前解決方法是,臨時寫了一段字段到數(shù)據(jù)庫里。這個問題就解決了。
具體方法是:
'is_top' => empty($post['is_top']) ? 0 : $post['is_top'],
將這個字段加到以下文件里面:
目錄地址:\application\admin\controller\
Article.php
Custom.php
Download.php
Images.php
Media.php
Product.php
Security.php
ShopProduct.php
其中查找里面的代碼:關(guān)鍵詞
'is_head' => empty($post['is_head']) ? 0 : $post['is_head'],
下面新增:
'is_top' => empty($post['is_top']) ? 0 : $post['is_top'],
每頁都有2處增加(一個是新增add 一個是編輯)。

最好緩存下。上面問題就解決了。