add Dockerfile & up readme

This commit is contained in:
ljw
2024-09-13 21:01:37 +08:00
parent 1dcf5d0a5d
commit c827a4e335
6 changed files with 155 additions and 6 deletions

View File

@@ -6,7 +6,6 @@ import (
"Gwen/http/response"
adResp "Gwen/http/response/admin"
"Gwen/service"
"fmt"
"github.com/gin-gonic/gin"
)
@@ -25,7 +24,6 @@ type Login struct {
// @Router /admin/login [post]
// @Security token
func (ct *Login) Login(c *gin.Context) {
fmt.Println("login")
f := &admin.Login{}
err := c.ShouldBindJSON(f)
if err != nil {