作者 tangxuhui

输出数据格式调整

@@ -111,7 +111,10 @@ func (systemSettingService *SystemSettingService) ListSystemSetting(listSystemSe @@ -111,7 +111,10 @@ func (systemSettingService *SystemSettingService) ListSystemSetting(listSystemSe
111 defaultSettings[i].CompanyId = listSystemSettingQuery.CompanyId 111 defaultSettings[i].CompanyId = listSystemSettingQuery.CompanyId
112 } 112 }
113 return map[string]interface{}{ 113 return map[string]interface{}{
114 - "systemSetting": defaultSettings, 114 + "grid": map[string]interface{}{
  115 + "list": defaultSettings,
  116 + "total": len(defaultSettings),
  117 + },
115 }, nil 118 }, nil
116 } 119 }
117 120