home.go 212 B

12345678910111213
  1. package pub
  2. import (
  3. "app/commons/constant"
  4. "github.com/gin-gonic/gin"
  5. )
  6. func (s *Server) Info(ctx *gin.Context) {
  7. c := s.FromContext(ctx)
  8. c.Resp(map[string]interface{}{
  9. "app": constant.SystemName,
  10. })
  11. }