authkuaishou.go 973 B

1234567891011121314151617181920212223
  1. package gorm_model
  2. import (
  3. "time"
  4. )
  5. type YoungeeKuaishouUserinfo struct {
  6. Id int `gorm:"column:id"` //id
  7. Code string `gorm:"column:code"` //扫码后获得的临时票据
  8. AccessToken string `gorm:"column:access_token"` //调用API需要的参数
  9. RefreshToken string `gorm:"column:refresh_token"` //用于刷新access_token
  10. NickName string `gorm:"column:nick_name"` //快手昵称
  11. CreateTime time.Time `gorm:"column:create_time"` //创建时间
  12. Expired int `gorm:"column:expired"` //是否可用
  13. UpdateTime time.Time `gorm:"column:update_time"` //授权更新时间
  14. Ksnumber string `gorm:"column:ksnumber"` //快手号
  15. Name string `gorm:"column:name"` //所属人
  16. PhoneNumber string `gorm:"column:phone_number"` //所属人手机号
  17. }
  18. func (m *YoungeeKuaishouUserinfo) TableName() string {
  19. return "youngee_m_kuaishou_userinfo"
  20. }