🎨 新增酒单CRUD & 喜欢的酒单列表CRUD

This commit is contained in:
2023-04-27 17:36:07 +08:00
parent d6e256ef9e
commit 1212e999cc
13 changed files with 140 additions and 12 deletions

View File

@@ -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"`
}

View File

@@ -11,5 +11,3 @@ type GetWineListByUser struct {
Category string `json:"category" form:"category"` // 分类
UserId int `json:"userId" form:"userId"` // 用户ID
}
type AddWine struct{}