Files
hjsq_server/web/router/withdraw.go
T
2026-10-08 16:50:13 +08:00

36 lines
1.0 KiB
Go

package router
import (
"91jd-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)
}
}