refactor: 更新路由总线和 OpenAPI 文档注册
admin.go 删除 registerShopSeriesAllocationRoutes、registerShopPackageAllocationRoutes 两处调用,注册 registerShopSeriesGrantRoutes。OpenAPI handlers.go 同步移除旧 Handler 引用,注册 ShopSeriesGrant Handler 供文档生成器使用。 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -39,10 +39,9 @@ func BuildDocHandlers() *bootstrap.Handlers {
|
||||
Package: admin.NewPackageHandler(nil),
|
||||
PackageUsage: admin.NewPackageUsageHandler(nil),
|
||||
H5PackageUsage: h5.NewPackageUsageHandler(nil, nil),
|
||||
ShopSeriesAllocation: admin.NewShopSeriesAllocationHandler(nil),
|
||||
ShopPackageAllocation: admin.NewShopPackageAllocationHandler(nil),
|
||||
ShopPackageBatchAllocation: admin.NewShopPackageBatchAllocationHandler(nil),
|
||||
ShopPackageBatchPricing: admin.NewShopPackageBatchPricingHandler(nil),
|
||||
ShopSeriesGrant: admin.NewShopSeriesGrantHandler(nil),
|
||||
AdminOrder: admin.NewOrderHandler(nil, nil),
|
||||
H5Order: h5.NewOrderHandler(nil),
|
||||
H5Recharge: h5.NewRechargeHandler(nil),
|
||||
|
||||
Reference in New Issue
Block a user