up gorm logger & add share to guest by web client

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

No files matched your search

+6
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{}