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