feat: add driver config in driver info

This commit is contained in:
Noah Hsu
2022-08-30 14:39:10 +08:00
parent fec98e7f69
commit 59ec17a353
8 changed files with 31 additions and 26 deletions

View File

@ -70,9 +70,9 @@ func admin(g *gin.RouterGroup) {
storage.POST("/disable", handles.DisableStorage)
driver := g.Group("/driver")
driver.GET("/list", handles.ListDriverItems)
driver.GET("/list", handles.ListDriverInfo)
driver.GET("/names", handles.ListDriverNames)
driver.GET("/items", handles.GetDriverItems)
driver.GET("/info", handles.GetDriverInfo)
setting := g.Group("/setting")
setting.GET("/get", handles.GetSetting)