Files
huangguo_server/app/router/withdraw.go
T
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +08:00

28 lines
713 B
Go

package router
import (
"91porn-server/app/api/withdrawctrl"
"91porn-server/app/middleware/limitHandler"
"91porn-server/common/constant/redisconst"
"91porn-server/common/stderr"
"github.com/gin-gonic/gin"
)
func withdrawRouter(router *gin.RouterGroup) {
{
//提现
router.POST("/withdraw",
limitHandler.FilterRequestByUser(redisconst.WithdrawLimtKey(), redisconst.WithdrawLimtKeyExpire(),
stderr.WithdrawBusy),
withdrawctrl.Withdraw,
)
//提现类型
router.GET("/withdraw/type", withdrawctrl.GetType)
//获取提现订单列表
router.GET("/withdraw/order", withdrawctrl.WithdrawOrder)
//获取提现配置列表
router.GET("/withdraw/cfg", withdrawctrl.GetWithdrawCfg)
}
}