caipin před 4 roky
rodič
revize
8bfec71a9d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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{