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
+30
View File
@@ -0,0 +1,30 @@
package router
import (
"91porn-server/app/api/rechargectrl"
"91porn-server/app/api/withdrawctrl"
"github.com/gin-gonic/gin"
)
// defrayRouter 支付回调
func defrayRouter(router *gin.RouterGroup) {
groupDefray := router.Group("/defray/callback")
{
//大白鲨充值回调
groupDefray.POST("/dabaisha", rechargectrl.DaBaiShaCallBack)
groupDefray.POST("/pay_center", rechargectrl.PayCenterCallBack)
groupDefray.POST("/refund", rechargectrl.RefundCallBack)
//充值回调函数
rchg := groupDefray.Group("/rchg")
{
rchg.POST("/:name", rechargectrl.CallBack)
rchg.GET("/:name", rechargectrl.CallBack)
}
echg := groupDefray.Group("/echg")
{
echg.POST("/:name", withdrawctrl.YinseCallBack)
}
//groupDefray.POST("/echg/goldfish", withdrawctrl.GoldFishCallBack)
}
}