feat(backend): 授权订单列表接口——分页/筛选/汇总,支撑订单管理 tab

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
wangjia
2026-07-10 23:21:24 +08:00
parent 7e5a697f28
commit 7e99a7a7ee
5 changed files with 497 additions and 0 deletions
+1
View File
@@ -124,6 +124,7 @@ func Setup(r *gin.Engine, db *gorm.DB) {
license.GET("/purchase/:out_trade_no", payH.PurchaseStatus)
license.POST("/purchase/:out_trade_no/cancel", payH.Cancel)
license.GET("/promo-status", payH.PromoStatus)
license.GET("/purchases", payH.Purchases)
}
// 业务路由:ReadOnly + LicenseGuard(过期只读/锁定拦截写操作)