实现套餐生效条件覆盖与购买快照
This commit is contained in:
@@ -16,7 +16,13 @@ func registerShopPackageBatchAllocationRoutes(router fiber.Router, handler *admi
|
||||
Summary: "批量分配套餐",
|
||||
Tags: []string{"批量套餐分配"},
|
||||
Input: new(dto.BatchAllocatePackagesRequest),
|
||||
Output: nil,
|
||||
Output: new(dto.BatchAllocatePackagesResponse),
|
||||
Auth: true,
|
||||
})
|
||||
|
||||
Register(router, doc, basePath, "PATCH", "/shop-package-allocations/:id/expiry-base", handler.UpdateExpiryBase, RouteSpec{
|
||||
Summary: "修改套餐分配生效条件覆盖",
|
||||
Tags: []string{"批量套餐分配"}, Input: new(dto.UpdateAllocationExpiryBaseParams),
|
||||
Output: new(dto.ShopPackageAllocationTermsResponse), Auth: true,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user