feat: chore oss upload
This commit is contained in:
@@ -89,6 +89,7 @@ type UserListRow struct {
|
||||
OnTrialNum int `gorm:"column:on_trial_num" json:"on_trial_num"`
|
||||
Gender int `gorm:"column:gender" json:"gender"`
|
||||
Birthday string `gorm:"column:birthday" json:"birthday"`
|
||||
Status uint8 `gorm:"column:status" json:"status"`
|
||||
CreatedAt utils.CustomTime `gorm:"column:created_at" json:"created_at"`
|
||||
UpdatedAt utils.CustomTime `gorm:"column:updated_at" json:"updated_at"`
|
||||
}
|
||||
@@ -102,6 +103,7 @@ type UserListItem struct {
|
||||
OnTrialNum int `json:"on_trial_num"`
|
||||
Gender int `json:"gender"`
|
||||
Birthday string `json:"birthday"`
|
||||
Status uint8 `json:"status"`
|
||||
CreatedAt utils.CustomTime `json:"created_at"`
|
||||
UpdatedAt utils.CustomTime `json:"updated_at"`
|
||||
}
|
||||
|
||||
@@ -83,6 +83,7 @@ func (l *UserItemsLogic) UserItems(in *user.UserItemsReq) (*user.Response, error
|
||||
OnTrialNum: row.OnTrialNum,
|
||||
Gender: row.Gender,
|
||||
Birthday: row.Birthday,
|
||||
Status: row.Status,
|
||||
CreatedAt: row.CreatedAt,
|
||||
UpdatedAt: row.UpdatedAt,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user