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
227 B

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