add conn log

This commit is contained in:
ljw
2024-10-18 15:05:58 +08:00
parent 2d37302cf9
commit f64022e411
20 changed files with 1253 additions and 169 deletions
+3 -1
View File
@@ -50,7 +50,9 @@ func ApiInit(g *gin.Engine) {
if global.Config.App.WebClient == 1 {
WebClientRoutes(frg)
}
au := &api.Audit{}
//[method:POST] [uri:/api/audit/conn]
frg.POST("/audit/conn", au.AuditConn)
frg.Use(middleware.RustAuth())
{
u := &api.User{}