init: 1.0.0

This commit is contained in:
Chang lue Tsen
2025-04-25 12:08:29 +09:00
commit 8addcc584b
1031 changed files with 76472 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package handler
import (
"github.com/gin-gonic/gin"
"github.com/perfect-panel/ppanel-server/internal/handler/notify"
"github.com/perfect-panel/ppanel-server/internal/middleware"
"github.com/perfect-panel/ppanel-server/internal/svc"
)
func RegisterNotifyHandlers(router *gin.Engine, serverCtx *svc.ServiceContext) {
group := router.Group("/v1/notify/")
group.Use(middleware.NotifyMiddleware(serverCtx))
{
group.Any("/:platform/:token", notify.PaymentNotifyHandler(serverCtx))
}
}