Initial commit

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-15 13:57:10 +08:00
co-authored by Claude Opus 5
commit 8679200f41
1897 changed files with 257900 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
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)
}
}