This commit is contained in:
@@ -20,6 +20,15 @@ func registerShopSeriesGrantRoutes(router fiber.Router, handler *admin.ShopSerie
|
||||
Auth: true,
|
||||
})
|
||||
|
||||
Register(grants, doc, groupPath, "GET", "/package-options", handler.ListPackageOptions, RouteSpec{
|
||||
Summary: "查询代理系列授权套餐候选项",
|
||||
Description: "返回指定店铺和套餐系列下当前操作者可分配的非赠送套餐,以及目标店铺的已授权状态。",
|
||||
Tags: []string{"代理系列授权"},
|
||||
Input: new(dto.ShopSeriesGrantPackageOptionRequest),
|
||||
Output: new(dto.ShopSeriesGrantPackageOptionResult),
|
||||
Auth: true,
|
||||
})
|
||||
|
||||
Register(grants, doc, groupPath, "POST", "", handler.Create, RouteSpec{
|
||||
Summary: "创建代理系列授权",
|
||||
Tags: []string{"代理系列授权"},
|
||||
|
||||
Reference in New Issue
Block a user