You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cloudreve/routers/controllers/ping.go

15 lines
211 B

package controllers
import (
"cloudreve/pkg/serializer"
"github.com/gin-gonic/gin"
)
// Ping 状态检查页面
func Ping(c *gin.Context) {
c.JSON(200, serializer.Response{
Code: 0,
Msg: "Pong",
})
}