修复反馈
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m30s

This commit is contained in:
2026-08-10 16:30:38 +08:00
parent 7aa03e91fb
commit f15a64395f
25 changed files with 527 additions and 90 deletions

View File

@@ -93,6 +93,23 @@ type ShopSeriesGrantListRequest struct {
Status *int `json:"status" query:"status" validate:"omitempty" description:"过滤状态 0=禁用 1=启用"`
}
// ShopSeriesGrantPackageOptionRequest 是授权页面的套餐候选查询参数。
type ShopSeriesGrantPackageOptionRequest struct {
ShopID uint `json:"shop_id" query:"shop_id" validate:"required,min=1" required:"true" minimum:"1" description:"被授权代理店铺ID"`
SeriesID uint `json:"series_id" query:"series_id" validate:"required,min=1" required:"true" minimum:"1" description:"套餐系列ID"`
}
// ShopSeriesGrantPackageOption 是套餐列表字段及目标店铺的当前授权状态。
type ShopSeriesGrantPackageOption struct {
PackageResponse
Authorized bool `json:"authorized" description:"目标店铺是否已启用授权"`
}
// ShopSeriesGrantPackageOptionResult 是授权页面候选套餐列表。
type ShopSeriesGrantPackageOptionResult struct {
Items []ShopSeriesGrantPackageOption `json:"items" description:"套餐候选项"`
}
// ShopSeriesGrantListItem 系列授权列表项
type ShopSeriesGrantListItem struct {
ID uint `json:"id" description:"授权记录ID"`