Files
huangguo_server/web/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

36 lines
1.0 KiB
Go

package router
import (
"91porn-server/web/api/withdrawctrl"
"github.com/gin-gonic/gin"
)
func withdrawRouter(router *gin.RouterGroup) {
{
//商品管理
router.POST("/withdraw/check", withdrawctrl.Check)
router.POST("/product/refuse", withdrawctrl.Refuse)
router.GET("/withdraw/list", withdrawctrl.ExchgOrder)
router.POST("/withdraw/refund", withdrawctrl.Refund)
router.GET("/withdraw/refund/list", withdrawctrl.RefundList)
router.POST("/withdraw/refund/dealwith", withdrawctrl.RefundDealWith)
}
group := router.Group("/withdraw")
{
//支付渠道
group.GET("/channel/list", withdrawctrl.GetChannel)
group.POST("/channel/update", withdrawctrl.ChannelUpdate)
group.POST("/channel/add", withdrawctrl.ChannelInsert)
group.DELETE("/channel/delete", withdrawctrl.ChannelDelete)
group.POST("/channel/batch", withdrawctrl.ChannelBatch)
}
txnact := router.Group("/txnact")
{
txnact.POST("/list", withdrawctrl.FindAct)
txnact.POST("/edit", withdrawctrl.EditAct)
txnact.POST("/del", withdrawctrl.DelAct)
}
}