index.go 166 B

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