feat: add log
This commit is contained in:
1 parent
144b29ae2c
commit
9aa9cf5d0e
1 file changed
+2
-2
@@ -4,10 +4,10 @@ import (
|
|||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/gin-gonic/gin/binding"
|
"github.com/gin-gonic/gin/binding"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
|
log "github.com/sirupsen/logrus"
|
||||||
"go-admin/models"
|
"go-admin/models"
|
||||||
"go-admin/tools"
|
"go-admin/tools"
|
||||||
"go-admin/tools/app"
|
"go-admin/tools/app"
|
||||||
log "github.com/sirupsen/logrus"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// @Summary 列表数据
|
// @Summary 列表数据
|
||||||
@@ -34,7 +34,7 @@ func GetSysUserList(c *gin.Context) {
|
|||||||
pageIndex = tools.StrToInt(err, index)
|
pageIndex = tools.StrToInt(err, index)
|
||||||
}
|
}
|
||||||
|
|
||||||
data.Username = c.Request.FormValue("userName")
|
data.Username = c.Request.FormValue("username")
|
||||||
data.Status = c.Request.FormValue("status")
|
data.Status = c.Request.FormValue("status")
|
||||||
data.Phone = c.Request.FormValue("phone")
|
data.Phone = c.Request.FormValue("phone")
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user