feat: ftime logic for usertitle is changed
This commit is contained in:
parent
5acc53ec9d
commit
00894f4526
12 changed files with 113 additions and 35 deletions
|
|
@ -262,7 +262,8 @@ type GetUserTitlesParams struct {
|
|||
|
||||
// AddUserTitleJSONBody defines parameters for AddUserTitle.
|
||||
type AddUserTitleJSONBody struct {
|
||||
Rate *int32 `json:"rate,omitempty"`
|
||||
Ftime *time.Time `json:"ftime,omitempty"`
|
||||
Rate *int32 `json:"rate,omitempty"`
|
||||
|
||||
// Status User's title status
|
||||
Status UserTitleStatus `json:"status"`
|
||||
|
|
@ -271,7 +272,8 @@ type AddUserTitleJSONBody struct {
|
|||
|
||||
// UpdateUserTitleJSONBody defines parameters for UpdateUserTitle.
|
||||
type UpdateUserTitleJSONBody struct {
|
||||
Rate *int32 `json:"rate,omitempty"`
|
||||
Ftime *time.Time `json:"ftime,omitempty"`
|
||||
Rate *int32 `json:"rate,omitempty"`
|
||||
|
||||
// Status User's title status
|
||||
Status *UserTitleStatus `json:"status,omitempty"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue