feat(backend): 购买单取消透传 pay v2 cancel
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -122,6 +122,7 @@ func Setup(r *gin.Engine, db *gorm.DB) {
|
||||
// 在线购买/续费(走 pay 收款中枢;仅管理员,handler 内判权)
|
||||
license.POST("/purchase", payH.Purchase)
|
||||
license.GET("/purchase/:out_trade_no", payH.PurchaseStatus)
|
||||
license.POST("/purchase/:out_trade_no/cancel", payH.Cancel)
|
||||
license.GET("/promo-status", payH.PromoStatus)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user