feat: udpate

This commit is contained in:
yanghao05
2025-04-14 21:24:57 +08:00
parent d75fd7906f
commit 45a0b6848a
3 changed files with 17 additions and 3 deletions

View File

@@ -21,8 +21,9 @@ type pays struct {
}
// Callback
// @Router /pay/callback [get]
func (ctl *pays) Callback(ctx fiber.Ctx) error {
// @Router /pay/callback/:channel [get]
// @Bind channel path
func (ctl *pays) Callback(ctx fiber.Ctx, channel string) error {
log := log.WithField("method", "pays.Callback")
body := ctx.Body()