feat: device info and bind
CI / changes (push) Successful in 1m30s
CI / ad (push) Successful in 31s
CI / admin (push) Successful in 24s
CI / bff (push) Successful in 31s
CI / chore (push) Successful in 27s
CI / equipment (push) Successful in 21s
CI / express (push) Successful in 23s
CI / factory (push) Successful in 21s
CI / message (push) Successful in 21s
CI / order (push) Successful in 22s
CI / payment (push) Successful in 20s
CI / percutaneous (push) Successful in 20s
CI / product (push) Successful in 20s
CI / record (push) Successful in 19s
CI / sale (push) Successful in 19s
CI / support (push) Successful in 20s
CI / task (push) Successful in 19s
CI / user (push) Successful in 21s
CI / wecom (push) Successful in 22s
CI / changes (push) Successful in 1m30s
CI / ad (push) Successful in 31s
CI / admin (push) Successful in 24s
CI / bff (push) Successful in 31s
CI / chore (push) Successful in 27s
CI / equipment (push) Successful in 21s
CI / express (push) Successful in 23s
CI / factory (push) Successful in 21s
CI / message (push) Successful in 21s
CI / order (push) Successful in 22s
CI / payment (push) Successful in 20s
CI / percutaneous (push) Successful in 20s
CI / product (push) Successful in 20s
CI / record (push) Successful in 19s
CI / sale (push) Successful in 19s
CI / support (push) Successful in 20s
CI / task (push) Successful in 19s
CI / user (push) Successful in 21s
CI / wecom (push) Successful in 22s
This commit is contained in:
@@ -5,10 +5,18 @@ import "lone-services/pkg/utils"
|
||||
type UserStoreAuth struct {
|
||||
Id int64 `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
|
||||
UserId int64 `gorm:"column:user_id" json:"user_id"`
|
||||
ObjId int64 `gorm:"column:obj_id" json:"obj_id"`
|
||||
StoreId int64 `gorm:"column:store_id" json:"store_id"`
|
||||
ValidityTime utils.CustomTime `gorm:"column:validity_time" json:"validity_time"`
|
||||
Status uint8 `gorm:"column:status" json:"status"`
|
||||
IP string `gorm:"column:ip" json:"ip"`
|
||||
CreateTime utils.CustomTime `gorm:"column:create_time" json:"create_time"`
|
||||
CreatedAt utils.CustomTime `gorm:"column:created_at" json:"created_at"`
|
||||
}
|
||||
|
||||
type StoreAuthItem struct {
|
||||
Id int64 `json:"id"`
|
||||
StoreId int64 `json:"store_id"`
|
||||
Name string `json:"name"`
|
||||
Address string `json:"address"`
|
||||
ValidityTime string `json:"validity_time"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
Status int `json:"status"`
|
||||
}
|
||||
|
||||
@@ -5,8 +5,12 @@ const (
|
||||
TypeStore uint8 = 2
|
||||
TypeUser uint8 = 3
|
||||
|
||||
ClientCodeUserSkin = "user_skin"
|
||||
ClientCodeUserSkin = "user_skin"
|
||||
ClientCodeStoreSkin = "store_skin"
|
||||
|
||||
StatusEnabled uint8 = 1
|
||||
StatusDisabled uint8 = 2
|
||||
|
||||
SkinTypeUser int32 = 1
|
||||
SkinTypeStore int32 = 2
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user