Skip to content

Commit 68ec8ab

Browse files
committed
feat: 支持用户操作日志记录
1 parent 8fd3fc8 commit 68ec8ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/logs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"github.com/itihey/tikuAdapter/internal/dao"
66
)
77

8+
// LogList - 日志列表
89
func LogList(c *gin.Context) {
910
find, err := dao.Log.Where(dao.Log.UserID.Eq(0)).Find()
1011
if err != nil {
@@ -14,5 +15,4 @@ func LogList(c *gin.Context) {
1415
return
1516
}
1617
c.JSON(200, find)
17-
1818
}

0 commit comments

Comments
 (0)