🎨新增客户端状态字段
This commit is contained in:
14
route/client.go
Normal file
14
route/client.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package route
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"wireguard-dashboard/http/api"
|
||||
"wireguard-dashboard/middleware"
|
||||
)
|
||||
|
||||
func ClientApi(r *gin.Engine) {
|
||||
apiGroup := r.Group("client", middleware.Authorization())
|
||||
{
|
||||
apiGroup.GET("list", api.Client().List) // 客户端列表
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user