model

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package model is a generated protocol buffer package.

It is generated from these files:

vip.proto

It has these top-level messages:

VipInfo

Index

Constants

View Source
const (
	//ChangeType
	ChangeTypePointExhchange  = 1 // 积分兑换
	ChangeTypeRechange        = 2 //充值开通
	ChangeTypeSystem          = 3 // 系统发放
	ChangeTypeActiveGive      = 4 //活动赠送
	ChangeTypeRepeatDeduction = 5 //重复领取扣除

	VipDaysMonth = 31
	VipDaysYear  = 366

	NotVip    = 0 //非大会员
	Vip       = 1 //月度大会员
	AnnualVip = 2 //年度会员

	VipStatusOverTime    = 0 //过期
	VipStatusNotOverTime = 1 //未过期
	VipStatusFrozen      = 2 //冻结
	VipStatusBan         = 3 //封禁

	VipAppUser  = 1 //大会员对接业务方user缓存
	VipAppPoint = 2 //大会员对接业务方积分缓存

	VipChangeFrozen   = -1 //冻结
	VipChangeUnFrozen = 0  //解冻
	VipChangeOpen     = 1  //开通
	VipChangeModify   = 2  //变更

	VipBusinessStatusOpen  = 0 //有效
	VipBusinessStatusClose = 1 //无效

	VipUserFirstDiscount = 1

	AnnualVipBcoinDay              = "annual_vip_bcoin_day"                //年费VIPB券发放每月第几天
	AnnualVipBcoinCouponMoney      = "annual_vip_bcoin_coupon_money"       //年费VIP返回B券金额
	AnnualVipBcoinCouponActivityID = "annual_vip_bcoin_coupon_activity_id" //年费VIP返B券活动ID

	HadSalaryState = 1 // 已发放

	NormalVipSalaryType = 1
	AnnualVipSalaryType = 2
	VipSupplyType       = 3
	TimingSalaryType    = 4

	SalaryVipOrigin = 1

	TimeFormatSec = "2006-01-02 15:04:05"

	DayOfHour = 24

	IsAutoRenew = 1

	IAPChannelID = 100

	MsgSystemNotify   = 4
	MsgCouponSalaryMc = "10_99_2"

	CouponSalaryTitle       = `观影劵到账通知`
	CouponSalaryMsg         = `大会员专享观影券已到账,#{点击查看>>}{"https://big.bilibili.com/mobile/userticket"}`
	CouponToAnnualSalaryMsg = `升级年度大会员赠送观影券%d张已到账,#{点击查看>>}{"https://big.bilibili.com/mobile/userticket"}`

	CouponCartoonSalaryTitle       = `漫画阅读劵到账通知`
	CouponCartoonSalaryMsg         = `大会员漫画阅读券已到账 #{点击查看>>}{"https://big.bilibili.com/mobile/userticket"}`
	CouponCartoonToAnnualSalaryMsg = `升级年度大会员赠送漫画阅读券%d张已到账,#{点击查看>>}{"https://big.bilibili.com/mobile/userticket"}`
)

Eunm vip enum value

View Source
const (
	DiscountNotUse = iota
	DiscountUsed
)

dicount type

View Source
const (
	CouponSalaryTiming int8 = iota
	CouponSalaryAtonce
)

coupon salary type

View Source
const (
	SalaryCouponType int8 = iota + 1
	SalaryCartoonCouponType
)

coupon type

View Source
const (
	Normal = iota
	AutoRenew
	IAPAutoRenew
)

pay order type

View Source
const (
	PAYING = iota + 1
	SUCCESS
	FAILED
	SIGN
	UNSIGN
)

pay order status

Variables

View Source
var (
	ErrInvalidLengthVip = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVip   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type AppCache

type AppCache struct {
	AppID int64 `json:"appID"`
	Mid   int64 `json:"mid"`
}

AppCache appCache

type BcoinSendInfo

type BcoinSendInfo struct {
	Amount     int32     `json:"amount"`
	DueDate    time.Time `json:"dueDate"`
	DayOfMonth int       `json:"dayOfMonth"`
}

BcoinSendInfo .

type CommonResq

type CommonResq struct {
	Code    int64  `json:"code"`
	TS      int64  `json:"ts"`
	Message string `json:"message"`
}

CommonResq response params.

type HandlerVip

type HandlerVip struct {
	Days   int32
	Months int16
	Mid    int64
	Type   int8
}

HandlerVip vip handler

type LoginLog

type LoginLog struct {
	Mid        int64     `json:"mid,omitempty" form:"mid"`
	IP         uint32    `json:"loginip" form:"ip"`
	Location   string    `json:"location"`
	LocationID int64     `json:"location_id,omitempty"`
	Time       time.Time `json:"timestamp,omitempty"`
	Type       int8      `json:"type,omitempty"`
}

LoginLog login log.

type Message

type Message struct {
	Action string          `json:"action"`
	Table  string          `json:"table"`
	New    json.RawMessage `json:"new"`
	Old    json.RawMessage `json:"old"`
}

Message databus message

type OldSalaryLog

type OldSalaryLog struct {
	ID          int64 `json:"id"`
	Mid         int64 `json:"mid"`
	CouponCount int64 `json:"coupon_count"`
	State       int8  `json:"state"`
	Type        int8  `json:"type"`
}

OldSalaryLog def.

type QueryBcoinSalary

type QueryBcoinSalary struct {
	StartID       int64     `json:"start_id"`
	EndID         int64     `json:"end_id"`
	StartMonth    time.Time `json:"start_month"`
	EndMonth      time.Time `json:"end_month"`
	GiveNowStatus int8      `json:"give_now_status"`
	Status        int8      `json:"status"`
}

QueryBcoinSalary .

type VideoCouponSalaryLog

type VideoCouponSalaryLog struct {
	ID          int64 `json:"id"`
	Mid         int64 `json:"mid"`
	CouponCount int64 `json:"coupon_count"`
	CouponType  int8  `json:"coupon_type"`
	State       int8  `json:"state"`
	Type        int8  `json:"type"`
	ExpireTime  int64 `json:"expire_time"`
	StartTime   int64 `json:"start_time"`
	Ver         int64 `json:"ver"`
}

VideoCouponSalaryLog videl coupon salary log.

type VipAppInfo

type VipAppInfo struct {
	ID       int64  `json:"id"`
	Type     int8   `json:"type"`
	Name     string `json:"name"`
	PurgeURL string `json:"purgeUrl"`
	AppKey   string `json:"appKey"`
}

VipAppInfo app info

type VipBcoinSalary

type VipBcoinSalary struct {
	ID            int64     `json:"id"`
	Mid           int64     `json:"mid"`
	Status        int8      `json:"status"`
	GiveNowStatus int8      `json:"giveNowStatus"`
	Payday        time.Time `json:"month"`
	Amount        int32     `json:"amount"`
	Memo          string    `json:"memo"`
	Ctime         time.Time `json:"ctime"`
	Mtime         time.Time `json:"mtime"`
}

VipBcoinSalary .

type VipBcoinSalaryMsg

type VipBcoinSalaryMsg struct {
	ID            int64  `json:"id"`
	Mid           int64  `json:"mid"`
	Status        int8   `json:"status"`
	GiveNowStatus int8   `json:"give_now_status"`
	Payday        string `json:"month"`
	Amount        int32  `json:"amount"`
	Memo          string `json:"memo"`
}

VipBcoinSalaryMsg .

type VipBuyResq

type VipBuyResq struct {
	Mid      int64  `json:"mid"`
	CouponID string `json:"coupon_id"`
	OrderNo  string `json:"order_no"`
}

VipBuyResq .

type VipChangeHistory

type VipChangeHistory struct {
	ID          int64     `json:"id"`
	Mid         int64     `json:"mid"`
	ChangeType  int8      `json:"change_type"`
	ChangeTime  time.Time `json:"change_time"`
	Month       int16     `json:"month"`
	Days        int32     `json:"days"`
	OperatorID  string    `json:"operator_id"`
	RelationID  string    `json:"relation_id"`
	BatchCodeID int64     `json:"batch_code_id"`
	BatchID     int64     `json:"batch_id"`
	Remark      string    `json:"remark"`
}

VipChangeHistory .

type VipChangeHistoryMsg

type VipChangeHistoryMsg struct {
	Mid         int64  `json:"mid"`
	ChangeType  int8   `json:"change_type"`
	ChangeTime  string `json:"change_time"`
	Days        int32  `json:"days"`
	Month       int16  `json:"month"`
	OperatorID  string `json:"operator_id"`
	RelationID  string `json:"relation_id"`
	BatchID     int64  `json:"batch_id"`
	Remark      string `json:"remark"`
	BatchCodeID int64  `json:"batch_code_id"`
}

VipChangeHistoryMsg vip change history msg

type VipConfig

type VipConfig struct {
	ID        int64  `json:"id"`
	ConfigKey string `json:"config_key"`
	Content   string `json:"content"`
}

VipConfig .

type VipInfo

type VipInfo struct {
	Mid                  int64               `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"`
	VipType              int32               `protobuf:"varint,2,opt,name=VipType,proto3" json:"vip_type"`
	VipStatus            int32               `protobuf:"varint,3,opt,name=VipStatus,proto3" json:"vip_status"`
	VipStartTime         go_common_time.Time `protobuf:"varint,4,opt,name=VipStartTime,proto3,casttype=go-common/library/time.Time" json:"vip_start_time"`
	VipOverdueTime       go_common_time.Time `protobuf:"varint,5,opt,name=VipOverdueTime,proto3,casttype=go-common/library/time.Time" json:"vip_overdue_time"`
	AnnualVipOverdueTime go_common_time.Time `protobuf:"varint,6,opt,name=AnnualVipOverdueTime,proto3,casttype=go-common/library/time.Time" json:"annual_vip_overdue_time"`
	AccessStatus         int32               `protobuf:"varint,7,opt,name=AccessStatus,proto3" json:"access_status"`
	FrozenDate           go_common_time.Time `protobuf:"varint,8,opt,name=FrozenDate,proto3,casttype=go-common/library/time.Time" json:"frozen_date"`
	VipStatusWarn        string              `protobuf:"bytes,9,opt,name=VipStatusWarn,proto3" json:"vip_status_warn"`
	VipRecentTime        go_common_time.Time `protobuf:"varint,10,opt,name=VipRecentTime,proto3,casttype=go-common/library/time.Time" json:"vip_recent_time"`
}

func (*VipInfo) Descriptor

func (*VipInfo) Descriptor() ([]byte, []int)

func (*VipInfo) Marshal

func (m *VipInfo) Marshal() (dAtA []byte, err error)

func (*VipInfo) MarshalTo

func (m *VipInfo) MarshalTo(dAtA []byte) (int, error)

func (*VipInfo) ProtoMessage

func (*VipInfo) ProtoMessage()

func (*VipInfo) Reset

func (m *VipInfo) Reset()

func (*VipInfo) Size

func (m *VipInfo) Size() (n int)

func (*VipInfo) String

func (m *VipInfo) String() string

func (*VipInfo) Unmarshal

func (m *VipInfo) Unmarshal(dAtA []byte) error

type VipInfoDB

type VipInfoDB struct {
	ID                   int64     `json:"id"`
	Mid                  int64     `json:"mid"`
	Ver                  int64     `json:"ver"`
	Type                 int8      `json:"vip_type"`
	PayType              int8      `json:"vip_pay_type"`
	PayChannelID         int64     `json:"pay_channel_id"`
	Status               int8      `json:"vip_status"`
	StartTime            time.Time `json:"vip_start_time"`
	RecentTime           time.Time `json:"vip_recent_time"`
	OverdueTime          time.Time `json:"vip_overdue_time"`
	AnnualVipOverdueTime time.Time `json:"annual_vip_overdue_time"`
	IosOverdueTime       time.Time `json:"ios_overdue_time"`
	Ctime                time.Time `json:"ctime"`
	Mtime                time.Time `json:"mtime"`
}

VipInfoDB vip user info db

type VipOrderActivityRecord

type VipOrderActivityRecord struct {
	ID             int64
	Mid            int64
	OrderNo        string
	ProductID      string
	Months         int32
	PanelType      string
	AssociateState int32
	Ctime          time.Time
	Mtime          time.Time
}

VipOrderActivityRecord vip record.

type VipPayOrder

type VipPayOrder struct {
	ID           int64     `json:"id"`
	OrderNo      string    `json:"orderNo"`
	AppID        int64     `json:"appId"`
	Platform     int8      `json:"platform"`
	OrderType    int8      `json:"orderType"`
	Mid          int64     `json:"mid"`
	ToMid        int64     `json:"toMid"`
	BuyMonths    int16     `json:"buyMonths"`
	Money        float64   `json:"money"`
	RechargeBp   float64   `json:"rechargeBp"`
	Status       int8      `json:"status"`
	PayType      int8      `json:"payType"`
	ThirdTradeNo string    `json:"thirdTradeNo"`
	PaymentTime  time.Time `json:"paymentTime"`
	Ver          int64     `json:"ver"`
	AppSubID     string    `json:"appSubId"`
	CouponMoney  float64   `json:"coupon_money"`
	Ctime        time.Time `json:"ctime"`
	Mtime        time.Time `json:"mtime"`
}

VipPayOrder VipPayOrder table

type VipPayOrderLog

type VipPayOrderLog struct {
	ID      int64  `json:"id"`
	OrderNo string `json:"orderNo"`
	Mid     int64  `json:"mid"`
	Status  int8   `json:"status"`
}

VipPayOrderLog vip pay order log table

type VipPayOrderNewMsg

type VipPayOrderNewMsg struct {
	ID           int64   `json:"id"`
	OrderNo      string  `json:"order_no"`
	AppID        int64   `json:"app_id"`
	Platform     int8    `json:"platform"`
	OrderType    int8    `json:"order_type"`
	Mid          int64   `json:"mid"`
	ToMid        int64   `json:"to_mid"`
	BuyMonths    int16   `json:"buy_months"`
	Money        float64 `json:"money"`
	RechargeBp   float64 `json:"recharge_bp"`
	ThirdTradeNo string  `json:"third_trade_no"`
	Status       int8    `json:"status"`
	PayType      string  `json:"pay_type"`
	PaymentTime  string  `json:"payment_time"`
	Ver          int64   `json:"ver"`
	AppSubID     string  `json:"app_sub_id"`
	CouponMoney  float64 `json:"coupon_money"`
}

VipPayOrderNewMsg .

type VipPayOrderOld

type VipPayOrderOld struct {
	ID          int64     `json:"id"`
	OrderNo     string    `json:"orderNo"`
	AppID       int64     `json:"appId"`
	Platform    int8      `json:"platform"`
	OrderType   int8      `json:"orderType"`
	Mid         int64     `json:"mid"`
	Bmid        int64     `json:"bmid"`
	BuyMonths   int16     `json:"buyMonths"`
	Money       float64   `json:"money"`
	Status      int8      `json:"status"`
	PayType     int8      `json:"payType"`
	PaymentTime time.Time `json:"paymentTime"`
	Ver         int64     `json:"ver"`
	AppSubID    string    `json:"appSubId"`
	CouponMoney float64   `json:"coupon_money"`
}

VipPayOrderOld vip pay order table

type VipPayOrderOldMsg

type VipPayOrderOldMsg struct {
	ID          int64   `json:"id"`
	OrderNo     string  `json:"order_no"`
	AppID       int64   `json:"app_id"`
	Platform    int8    `json:"platform"`
	OrderType   int8    `json:"order_type"`
	Mid         int64   `json:"mid"`
	Bmid        int64   `json:"bmid"`
	BuyMonths   int16   `json:"buy_months"`
	Money       float64 `json:"money"`
	RechargeBp  float64 `json:"recharge_bp"`
	Status      int8    `json:"status"`
	PayType     int8    `json:"pay_type"`
	PaymentTime string  `json:"payment_time"`
	Ver         int64   `json:"ver"`
	AppSubID    string  `json:"app_sub_id"`
	CouponMoney float64 `json:"coupon_money"`
	Ctime       string  `json:"ctime"`
	Mtime       string  `json:"mtime"`
}

VipPayOrderOldMsg get databus json data

type VipPoint

type VipPoint struct {
	ID           int `json:"id"`
	Mid          int `json:"mid"`
	PointBalance int `json:"point_balance"`
	Ver          int `json:"ver"`
}

VipPoint vip_point table

type VipPointChangeHistory

type VipPointChangeHistory struct {
	ID           int       `json:"id"`
	Mid          int       `json:"mid"`
	Point        int       `json:"point"`
	OrderID      string    `json:"orderId"`
	ChangeType   int       `json:"changeType"`
	ChangeTime   time.Time `json:"changeTime"`
	RelationID   string    `json:"relationId"`
	PointBalance int       `json:"pointBalance"`
	Remark       string    `json:"remark"`
	Operator     string    `json:"operator"`
}

VipPointChangeHistory vip_point_change_history table

type VipPointChangeHistoryMsg

type VipPointChangeHistoryMsg struct {
	ID           int    `json:"id"`
	Mid          int    `json:"mid"`
	Point        int    `json:"point"`
	OrderID      string `json:"order_id"`
	ChangeType   int    `json:"change_type"`
	ChangeTime   string `json:"change_time"`
	RelationID   string `json:"relation_id"`
	PointBalance int    `json:"point_balance"`
	Remark       string `json:"remark"`
	Operator     string `json:"operator"`
}

VipPointChangeHistoryMsg get databus json data

type VipPushData

type VipPushData struct {
	ID              int64     `json:"id"`
	DisableType     int8      `json:"disable_type"`
	GroupName       string    `json:"group_name"`
	Title           string    `json:"title" `
	Content         string    `json:"content"`
	PushTotalCount  int32     `json:"-"`
	PushedCount     int32     `json:"-"`
	PushProgress    string    `json:"push_progress"`
	ProgressStatus  int8      `json:"progress_status"`
	Status          int8      `json:"status"`
	Platform        string    `json:"platform"`
	LinkType        int32     `json:"link_type"`
	ErrorCode       int32     `json:"error_code"`
	LinkURL         string    `json:"link_url"`
	ExpiredDayStart int32     `json:"expired_day_start" `
	ExpiredDayEnd   int64     `json:"expired_day_end" `
	EffectStartDate time.Time `json:"effect_start_date" `
	EffectEndDate   time.Time `json:"effect_end_date" `
	PushStartTime   string    `json:"push_start_time" `
	PushEndTime     string    `json:"push_end_time" `
}

VipPushData .

type VipPushResq

type VipPushResq struct {
	Code int64 `json:"code"`
	Data int64 `json:"data"`
}

VipPushResq .

type VipRechargeOrder

type VipRechargeOrder struct {
	ID           int     `json:"id"`
	AppID        int     `json:"appId"`
	PayMid       int     `json:"payMid"`
	OrderNo      string  `json:"orderNo"`
	RechargeBp   float64 `json:"rechargeBp"`
	ThirdTradeNo string  `json:"thirdTradeNo"`
	PayOrderNo   string  `json:"payOrderNo"`
	Status       int     `json:"status"`
	Ver          int     `json:"ver"`
	Bmid         int     `json:"bmid"`
}

VipRechargeOrder vip recharge order table

type VipRechargeOrderMsg

type VipRechargeOrderMsg struct {
	ID           int64   `json:"id"`
	AppID        int64   `json:"app_id"`
	PayMid       int64   `json:"pay_mid"`
	OrderNo      string  `json:"order_no"`
	RechargeBp   float64 `json:"recharge_bp"`
	ThirdTradeNo string  `json:"third_trade_no"`
	PayOrderNo   string  `json:"pay_order_no"`
	Status       int8    `json:"status"`
	Ver          int64   `json:"ver"`
	Bmid         int64   `json:"bmid"`
}

VipRechargeOrderMsg get databus json data

type VipResourceBatchCode

type VipResourceBatchCode struct {
	ID           int64     `json:"id"`
	BusinessID   int64     `json:"business_id"`
	PoolID       int64     `json:"pool_id"`
	Status       int8      `json:"status"`
	Type         int8      `json:"type"`
	BatchName    string    `json:"batch_name"`
	Reason       string    `json:"reason"`
	Unit         int32     `json:"unit"`
	Count        int64     `json:"count"`
	SurplusCount int64     `json:"surplus_count"`
	Price        float64   `json:"price"`
	StartTime    time.Time `json:"start_time"`
	EndTime      time.Time `json:"end_time"`
}

VipResourceBatchCode .

type VipResourceCode

type VipResourceCode struct {
	ID          int64  `json:"id"`
	Bmid        int64  `json:"bmid"`
	RelationID  string `json:"relation_id"`
	Code        string `json:"code"`
	Status      int8   `json:"status"`
	BatchCodeID int64  `json:"batch_code_id"`
}

VipResourceCode vip resource code

type VipUserDiscountHistory

type VipUserDiscountHistory struct {
	ID         int64  `json:"id"`
	Mid        int64  `json:"mid"`
	DiscountID int32  `json:"discountId"`
	OrderNo    string `json:"orderNo"`
	Status     int8   `json:"status"`
}

VipUserDiscountHistory vip user discount history table

type VipUserInfo

type VipUserInfo struct {
	ID                   int64     `json:"id"`
	Mid                  int64     `json:"mid"`
	Type                 int8      `json:"vipType"`
	PayType              int8      `json:"payType"`
	PayChannelID         int64     `json:"payChannelId"`
	Status               int8      `json:"vipStatus"`
	Ver                  int64     `json:"ver"`
	OldVer               int64     `json:"old_ver"`
	StartTime            time.Time `json:"vipStartTime"`
	RecentTime           time.Time `json:"vipRecentTime"`
	OverdueTime          time.Time `json:"vipOverdueTime"`
	AnnualVipOverdueTime time.Time `json:"annualVipOverdueTime"`
	AutoRenewed          int8      `json:"auto_renewed"`
	IosOverdueTime       time.Time `json:"ios_overdue_time"`
	Ctime                time.Time `json:"ctime"`
	Mtime                time.Time `json:"mtime"`
}

VipUserInfo vip user info table

type VipUserInfoMsg

type VipUserInfoMsg struct {
	ID                   int64  `json:"id"`
	Mid                  int64  `json:"mid"`
	Type                 int8   `json:"vip_type"`
	Status               int8   `json:"vip_status"`
	StartTime            string `json:"vip_start_time"`
	OverdueTime          string `json:"vip_overdue_time"`
	AnnualVipOverdueTime string `json:"annual_vip_overdue_time"`
	RecentTime           string `json:"vip_recent_time"`
	Wander               int8   `json:"wander"`
	AutoRenewed          int8   `json:"auto_renewed"`
	IsAutoRenew          int8   `json:"is_auto_renew"`
	Ver                  int64  `json:"ver"`
	PayChannelID         int64  `json:"pay_channel_id"`
	IosOverdueTime       string `json:"ios_overdue_time"`
}

VipUserInfoMsg get databus vip_user_info msg

type VipUserInfoNewMsg

type VipUserInfoNewMsg struct {
	ID                   int64  `json:"id"`
	Mid                  int64  `json:"mid"`
	Ver                  int64  `json:"ver"`
	VipType              int8   `json:"vip_type"`
	VipPayType           int8   `json:"vip_pay_type"`
	PayChannelID         int64  `json:"pay_channel_id"`
	VipStatus            int8   `json:"vip_status"`
	VipStartTime         string `json:"vip_start_time"`
	VipRecentTime        string `json:"vip_recent_time"`
	VipOverdueTime       string `json:"vip_overdue_time"`
	AnnualVipOverdueTime string `json:"annual_vip_overdue_time"`
	IosOverdueTime       string `json:"ios_overdue_time"`
}

VipUserInfoNewMsg .

type VipUserInfoOld

type VipUserInfoOld struct {
	ID                   int64     `json:"id"`
	Mid                  int64     `json:"mid"`
	Type                 int8      `json:"vipType"`
	Status               int8      `json:"vipStatus"`
	StartTime            time.Time `json:"vipStartTime"`
	OverdueTime          time.Time `json:"vipOverdueTime"`
	AnnualVipOverdueTime time.Time `json:"annualVipOverdueTime"`
	RecentTime           time.Time `json:"vip_recent_time"`
	Wander               int8      `json:"wander"`
	AccessStatus         int8      `json:"accessStatus"`
	AutoRenewed          int8      `json:"auto_renewed"`
	IsAutoRenew          int8      `json:"is_auto_renew"`
	IosOverdueTime       time.Time `json:"ios_overdue_time"`
	PayChannelID         int64     `json:"pay_channel_id"`
	Ver                  int64     `json:"ver"`
	Ctime                time.Time `json:"ctime"`
	Mtime                time.Time `json:"mtime"`
}

VipUserInfoOld vip_user_info table

func (*VipUserInfoOld) ToNew

func (v *VipUserInfoOld) ToNew() (n *VipUserInfo)

ToNew convert old model to new.

Jump to

Keyboard shortcuts

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