feat: chore oss upload

This commit is contained in:
zzw
2026-08-25 11:04:38 +08:00
parent ec041adb1c
commit b266a46f2d
6 changed files with 53 additions and 26 deletions
+2
View File
@@ -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,
})