🎨 新增酒单CRUD & 喜欢的酒单列表CRUD
This commit is contained in:
@@ -42,3 +42,13 @@ type SaveUser struct {
|
||||
Phone string `json:"phone" form:"phone"`
|
||||
Status constant.UserStatus `json:"status" form:"status" binding:"oneof=NORMAL DISABLE"` // 用户状态
|
||||
}
|
||||
|
||||
// GetLikeWineList 获取酒列表
|
||||
type GetLikeWineList struct {
|
||||
page
|
||||
UserId int `json:"userId" form:"userId" binding:"required"` // 用户ID
|
||||
}
|
||||
|
||||
type DeleteLikeWine struct {
|
||||
LikeWineId int `json:"likeWineId" form:"likeWineId" binding:"required"`
|
||||
}
|
||||
|
@@ -11,5 +11,3 @@ type GetWineListByUser struct {
|
||||
Category string `json:"category" form:"category"` // 分类
|
||||
UserId int `json:"userId" form:"userId"` // 用户ID
|
||||
}
|
||||
|
||||
type AddWine struct{}
|
||||
|
Reference in New Issue
Block a user