mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-28 02:41:57 +08:00
Feat: vas redeem
This commit is contained in:
@@ -363,6 +363,10 @@ func InitMasterRouter() *gin.Engine {
|
||||
vas.GET("product", controllers.GetProduct)
|
||||
// 新建支付订单
|
||||
vas.POST("order", controllers.NewOrder)
|
||||
// 获取兑换码信息
|
||||
vas.GET("redeem/:code", controllers.GetRedeemInfo)
|
||||
// 执行兑换
|
||||
vas.POST("redeem/:code", controllers.DoRedeem)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user