index.go 230 B

123456789101112
  1. package controller
  2. import (
  3. "github.com/gin-gonic/gin"
  4. "icloudapp.cn/tools/entity"
  5. )
  6. func Index(c *gin.Context) {
  7. s := make(map[string]interface{})
  8. s["msg"] = "success"
  9. entity.ResponseSuccess(c, entity.EmptyBodyObject())
  10. }