['type' => 'uBigInt', 'title' => '用户id'], 'openid' => ['type' => 'string_60', 'title' => '微信的FormUsername'], 'follow_openid' => ['type' => 'string_60', 'title' => '关注微信获取的openid'], 'unionid' => ['type' => 'string_60', 'title' => '微信unionid'], 'nick' => ['type' => 'string_60', 'title' => '昵称'], 'wx_avatar' => ['type' => 'string', 'title' => '头像', 'is_null' => 1], 'wx_info' => ['type' => 'json', 'title' => '微信返回的json信息', 'is_null' => 1], 'authorizer_appid' => ['type' => 'string', 'title' => '微信授权方appid', 'is_null' => 1], 'authorizer_refresh_token' => ['type' => 'string', 'title' => '微信接口调用凭据刷新令牌', 'is_null' => 1], 'authorization_info' => ['type' => 'string', 'title' => '授权信息', 'is_null' => 1], ]; } /** * 初始化内容 */ public function init() { } /** * Run the database seeds. * * @return void */ public function run() { $this->schema = 'user_wechat_official_account'; $this->title = '用户表微信公众号登录'; $this->start(); } }