['type' => 'uBigint', 'title' => '用户名'], 'access_token' => ['type' => 'string', 'title' => '手机号'], 'expires_in' => ['type' => 'string', 'title' => 'expires_in'], 'refresh_token' => ['type' => 'string', 'title' => 'refresh_token'], 'scope' => ['type' => 'string', 'title' => 'scope', 'is_null' => 1], 'uk' => ['type' => 'string', 'title' => '百度网盘user_id', 'is_null' => 1], 'pan_user_info' => ['type' => 'json', 'title' => '百度网盘json', 'is_null' => 1], 'status' => ['type' => 'tinyint', 'title' => '状态', 'default' => 1, 'remark' => '1 启用'], ]; } /** * 初始化内容 */ public function init() { } /** * Run the database seeds. * * @return void */ public function run() { $this->schema = 'baidu_pan_token'; $this->title = '百度登录授权信息表'; $this->start(); } }