Files
opencatd-open/team/dashboard/login.go
Sakurasan bc223d6530 team api
2025-02-01 23:52:55 +08:00

21 lines
281 B
Go

package dashboard
import (
"fmt"
"github.com/gin-gonic/gin"
)
func HandleLogin(c *gin.Context) {
var user map[string]string
c.ShouldBind(&user)
fmt.Sprintf("%v", user)
c.JSON(200, gin.H{
"code": 200,
"msg": "success",
"data": gin.H{
"token": "token",
},
})
}