mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-12-03 02:23:16 +00:00
feat(api): Add /device-group/accessible for 1.3.8
This commit is contained in:
@@ -79,6 +79,8 @@ func ApiInit(g *gin.Engine) {
|
||||
gr := &api.Group{}
|
||||
frg.GET("/users", gr.Users)
|
||||
frg.GET("/peers", gr.Peers)
|
||||
// /api/device-group/accessible?current=1&pageSize=100
|
||||
frg.GET("/device-group/accessible", gr.Device)
|
||||
}
|
||||
|
||||
{
|
||||
@@ -88,6 +90,7 @@ func ApiInit(g *gin.Engine) {
|
||||
//更新地址
|
||||
frg.POST("/ab", ab.UpAb)
|
||||
}
|
||||
|
||||
PersonalRoutes(frg)
|
||||
//访问静态文件
|
||||
g.StaticFS("/upload", http.Dir(global.Config.Gin.ResourcesPath+"/public/upload"))
|
||||
|
||||
Reference in New Issue
Block a user