This commit is contained in:
Sakurasan
2025-02-01 23:52:55 +08:00
parent 65d6d12972
commit bc223d6530
30 changed files with 2683 additions and 242 deletions

20
team/dashboard/login.go Normal file
View File

@@ -0,0 +1,20 @@
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",
},
})
}