AuthGroup.php 221 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 <?php namespace app\admin\model; use think\Model; class AuthGroup extends Model { protected $type = [ // 设置addtime为时间戳类型(整型) 'addtime' => 'timestamp:Y-m-d H:i:s', ]; }