Compare commits

..

No commits in common. "1e6acd8c8e0bb2a8c29f475599d7751786488b38" and "cad92c6651ed4d095928cc40ca2ae95cea4a6792" have entirely different histories.

2 changed files with 0 additions and 15 deletions

View File

@ -33,7 +33,6 @@ func BundleRouter(r *gin.RouterGroup) {
{ {
bundleBalance.POST("list", bundle.GetBundleBalance) bundleBalance.POST("list", bundle.GetBundleBalance)
bundleBalance.POST("used-record", bundle.GetUsedRecordList) bundleBalance.POST("used-record", bundle.GetUsedRecordList)
bundleBalance.POST("activate", bundle.BundleActivate)
} }
} }
bundleClientRouteV2 := bundleRoute.Group("system/v2") bundleClientRouteV2 := bundleRoute.Group("system/v2")

View File

@ -249,17 +249,3 @@ func CastLogConfirm(ctx *gin.Context) {
} }
service.Success(ctx, res) service.Success(ctx, res)
} }
func BundleActivate(ctx *gin.Context) {
var req bundle.BundleActivateReq
if err := ctx.ShouldBindJSON(&req); err != nil {
service.Error(ctx, err)
return
}
res, err := service.BundleProvider.BundleActivate(context.Background(), &req)
if err != nil {
service.Error(ctx, err)
return
}
service.Success(ctx, res)
}