feat: scan graph
CI / changes (push) Successful in 1m31s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / aiserver (push) Successful in 0s
CI / analysis (push) Successful in 37s
CI / bff (push) Successful in 18s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / store (push) Successful in 22s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 21s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / ws (push) Successful in 0s
CI / changes (push) Successful in 1m31s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / aiserver (push) Successful in 0s
CI / analysis (push) Successful in 37s
CI / bff (push) Successful in 18s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / store (push) Successful in 22s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 21s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / ws (push) Successful in 0s
This commit is contained in:
@@ -20,3 +20,30 @@ type StoreAuthItem struct {
|
||||
CreatedAt string `json:"created_at"`
|
||||
Status int `json:"status"`
|
||||
}
|
||||
|
||||
// AdminBindStoreItem 后台「用户授权门店」列表项(对齐旧 AdminStoreItem)
|
||||
type AdminBindStoreItem struct {
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
UserName string `json:"user_name"`
|
||||
UserMobile string `json:"user_mobile"`
|
||||
District string `json:"district"`
|
||||
DistrictText string `json:"district_text"`
|
||||
ValidityTime string `json:"validity_time"`
|
||||
Status int `json:"status"` // 1=正常 2=过期
|
||||
}
|
||||
|
||||
// AdminBindUserItem 后台「门店授权用户」列表项(对齐旧 AdminUserItem)
|
||||
type AdminBindUserItem struct {
|
||||
Id int64 `json:"id"`
|
||||
UserId int64 `json:"user_id"`
|
||||
Name string `json:"name"`
|
||||
Nickname string `json:"nickname"`
|
||||
Avatar string `json:"avatar"`
|
||||
Mobile string `json:"mobile"`
|
||||
Gender uint32 `json:"gender"`
|
||||
GenderText string `json:"gender_text"`
|
||||
Birthday string `json:"birthday"`
|
||||
Age string `json:"age"`
|
||||
ValidityTime string `json:"validity_time"`
|
||||
}
|
||||
|
||||
@@ -14,8 +14,15 @@ type UserGraph struct {
|
||||
}
|
||||
|
||||
type UserGraphType struct {
|
||||
Id int64 `gorm:"column:id;primaryKey" json:"id"`
|
||||
Name string `gorm:"column:name" json:"name"`
|
||||
Id int64 `gorm:"column:id;primaryKey" json:"id"`
|
||||
Name string `gorm:"column:name" json:"name"`
|
||||
Sort int `gorm:"column:sort" json:"sort"`
|
||||
Status int8 `gorm:"column:status" json:"status"`
|
||||
}
|
||||
|
||||
type UserGraphTypeResource struct {
|
||||
Id int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type GraphTitleItem struct {
|
||||
|
||||
@@ -19,6 +19,7 @@ type UserImageLog struct {
|
||||
DetectionTime utils.CustomTime `gorm:"column:detection_time" json:"detection_time"`
|
||||
Cover string `gorm:"column:cover" json:"cover"`
|
||||
Status uint8 `gorm:"column:status" json:"status"`
|
||||
State int8 `gorm:"column:state" json:"state"` // 1检测过一次 2分析中 3有问题 4已退款 5正常
|
||||
}
|
||||
|
||||
type UserImageTag struct {
|
||||
|
||||
@@ -18,6 +18,19 @@ type StoreSkinInfo struct {
|
||||
CreateTime string `json:"create_time"`
|
||||
}
|
||||
|
||||
type AdminStoreListItem struct {
|
||||
Id int64 `json:"id"`
|
||||
StoreId int64 `json:"store_id"`
|
||||
Account string `json:"account"`
|
||||
StoreName string `json:"store_name"`
|
||||
StoreUserName string `json:"store_user_name"`
|
||||
StoreUserMobile string `json:"store_user_mobile"`
|
||||
District string `json:"district"`
|
||||
DistrictText string `json:"district_text"`
|
||||
Address string `json:"address"`
|
||||
Qrcode string `json:"qrcode"`
|
||||
}
|
||||
|
||||
type StoreUserListItem struct {
|
||||
Id int64 `json:"id"`
|
||||
UserId int64 `json:"user_id"`
|
||||
|
||||
@@ -9,6 +9,28 @@ type ImageLogResource struct {
|
||||
CreateTime string `json:"create_time"`
|
||||
}
|
||||
|
||||
type AdminScanListItem struct {
|
||||
Id int64 `json:"id"`
|
||||
UserId int64 `json:"user_id"`
|
||||
DetectionNumber int `json:"detection_number"`
|
||||
DetectionTime string `json:"detection_time"`
|
||||
State int `json:"state"`
|
||||
Username string `json:"username"`
|
||||
Nickname string `json:"nickname"`
|
||||
Mobile string `json:"mobile"`
|
||||
District string `json:"district"`
|
||||
DistrictText string `json:"district_text"`
|
||||
Gender int `json:"gender"`
|
||||
GenderText string `json:"gender_text"`
|
||||
BirthdayText string `json:"birthday_text"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
}
|
||||
|
||||
type AdminScanDetailResource struct {
|
||||
First *ImageDetailResource `json:"first"`
|
||||
Second *ImageDetailResource `json:"second"`
|
||||
}
|
||||
|
||||
type ImageOverviewResource struct {
|
||||
Id int64 `json:"id"`
|
||||
UserId int64 `json:"user_id"`
|
||||
|
||||
Reference in New Issue
Block a user