[feature] optional pagination

This commit is contained in:
Alireza Ahmadi
2023-09-14 19:17:16 +02:00
parent 0d77b52f39
commit 95318f51c5
12 changed files with 54 additions and 7 deletions

View File

@@ -66,6 +66,7 @@ func (a *SettingController) getDefaultSettings(c *gin.Context) {
"subCertFile": func() (interface{}, error) { return a.settingService.GetSubCertFile() },
"subEncrypt": func() (interface{}, error) { return a.settingService.GetSubEncrypt() },
"subShowInfo": func() (interface{}, error) { return a.settingService.GetSubShowInfo() },
"pageSize": func() (interface{}, error) { return a.settingService.GetPageSize() },
}
result := make(map[string]interface{})