<?php namespace app\user\model; class Auth extends Base { //设置字段信息 protected $schema = [ 'id' =>'int',// 'app_id' =>'varchar',// 'app_key' =>'varchar',// 'status' =>'tinyint',// 'is_del' =>'tinyint',// 'addtime' =>'datetime',// ]; }