bilibili

package
v0.0.0-...-5c42bcd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuiltinMember

type BuiltinMember struct {
	Mid             uint           `json:"mid" gorm:"column:mid;primary_key;comment:系统账户mid"`
	Name            string         `json:"name" gorm:"column:name;comment:昵称"`
	SessData        string         `json:"sessData" gorm:"column:sess_data;type:longtext;comment:cookie"`
	BiliJct         string         `json:"biliJct" gorm:"column:bili_jct;comment:cookie"`
	DedeUserID      string         `json:"dedeUserID" gorm:"column:dede_user_id;comment:cookie"`
	Sid             string         `json:"sid" gorm:"column:sid;type:longtext;comment:cookie"`
	DedeUserIDCkMd5 string         `json:"dedeUserIDCkMd5" gorm:"column:dede_user_id_ck_md5;comment:cookie"`
	RefreshToken    string         `json:"refreshToken" gorm:"column:refresh_token;comment:refresh_token"`
	IsUse           uint           `json:"isUse" gorm:"column:is_use;comment:是否启用;not null;default:0"`
	CreatedAt       time.Time      `json:"createdAt" form:"createdAt"` // 创建时间
	UpdatedAt       time.Time      `json:"updatedAt" form:"updatedAt"` // 更新时间
	DeletedAt       gorm.DeletedAt `gorm:"index" json:"-"`             // 删除时间
}

func (BuiltinMember) TableName

func (BuiltinMember) TableName() string

type UpMember

type UpMember struct {
	global.Model
	Mid      uint   `json:"mid" gorm:"column:id;comment:up主ID"`
	Name     string `json:"name" gorm:"column:name;comment:昵称"`
	Sex      string `json:"sex" gorm:"column:sex;comment:性别"`
	Face     string `json:"face" gorm:"column:face;comment:头像"`
	Sign     string `json:"sign" gorm:"column:sign;type:longtext;comment:签名"`
	Level    uint   `json:"level" gorm:"column:level;comment:等级"`
	Birthday string `json:"birthday" gorm:"column:birthday;comment:生日"`
}

func (UpMember) TableName

func (UpMember) TableName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL