auth.go 228 B

123456789101112131415
  1. package controller
  2. import (
  3. "hongze/hongqi_watch/controller/resp"
  4. "github.com/gin-gonic/gin"
  5. )
  6. type AuthController struct {
  7. }
  8. func (a *AuthController) Login(c *gin.Context) {
  9. resp.OkData("登录成功", nil, c)
  10. return
  11. }