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
+27
View File
@@ -0,0 +1,27 @@
package router
import (
"91jd-server/app/api/withdrawctrl"
"91jd-server/app/middleware/limitHandler"
"91jd-server/common/constant/redisconst"
"91jd-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)
}
}