pcgamedb/server/handler/clean_game.go
2024-09-24 18:17:11 +08:00

15 lines
223 B
Go

package handler
import (
"net/http"
"pcgamedb/log"
"pcgamedb/task"
"github.com/gin-gonic/gin"
)
func CleanGameHandler(ctx *gin.Context) {
task.Clean(log.TaskLogger)
ctx.JSON(http.StatusOK, gin.H{"status": "ok"})
}