up gorm logger & add share to guest by web client

This commit is contained in:
ljw
2024-10-09 15:53:08 +08:00
parent 2ab61512cf
commit 8b266d4fee
23 changed files with 451 additions and 1031 deletions

View File

@@ -46,6 +46,12 @@ func ApiInit(g *gin.Engine) {
//提交系统信息
frg.POST("/sysinfo", pe.SysInfo)
}
{
w := &api.WebClient{}
frg.POST("/shared-peer", w.SharedPeer)
}
frg.Use(middleware.RustAuth())
{
w := &api.WebClient{}