init: hgmj server initial commit

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 16:50:13 +08:00
co-authored by Claude Opus 4.7
commit 625e89c15d
1870 changed files with 254090 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
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)
}
}