feat(withdrawal): 增加提现审核对账与历史记录
This commit is contained in:
@@ -846,6 +846,7 @@ func New(cfg config.Config, deps Dependencies, logger *zap.Logger) *gin.Engine {
|
||||
// 提现管理
|
||||
adminRoutes.GET("/withdrawals", requirePerm("withdrawal:list"), withdrawalHandler.AdminList)
|
||||
adminRoutes.GET("/withdrawals/:id", requirePerm("withdrawal:detail"), withdrawalHandler.AdminFindByID)
|
||||
adminRoutes.GET("/withdrawals/:id/review-context", requirePerm("withdrawal:detail"), withdrawalHandler.AdminReviewContext)
|
||||
adminRoutes.POST("/withdrawals/:id/review", requirePerm("withdrawal:review"), withdrawalHandler.Review)
|
||||
adminRoutes.POST("/withdrawals/:id/confirm-payment", requirePerm("withdrawal:pay"), withdrawalHandler.ConfirmPayment)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user