auth.go 225 B

1234567891011121314
  1. package controller
  2. import (
  3. "eta/mysteel_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. }