'integer', 'permission_idx' => 'string' ]; /** * 模型事件定义 * * @author 许祖兴 < zuxing.xu@lettered.cn> * @date 2020/3/26 20:54 * * @return void */ public static function init() { self::event('before_insert', function ($before) { }); } }