caipin 4 rokov pred
rodič
commit
8bfec71a9d
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      web/backstage/manager_bs.go

+ 1 - 1
web/backstage/manager_bs.go

@@ -35,7 +35,7 @@ type ManagerBs struct {
 func (c *ManagerBs) GetList() {
 	item, total := c.ServiceManager.GetAll()
 	dataList := map[string]interface{}{
-		"item":  item,
+		"items": item,
 		"total": total,
 	}
 	c.Ctx.JSON(iris.Map{