2016-08-05 65 views

回答

0

您可以通過使用$_hidden陣列爲此在模型層:

protected $_hidden = ['your', 'columns', 'here'];

你可以閱讀更多的關於它的蛋糕文檔here