|
@@ -176,9 +176,9 @@ func (mae *MarketAnalysisEntity) ForMatData() error {
|
|
|
mae.BaseParam.PageNum = config.Config.ProjectCount / mae.BaseParam.PageSize
|
|
|
}
|
|
|
//当前页码
|
|
|
- mae.FormatParam.PageNum = qutil.If(mae.BaseParam.PageNum < 1 || mae.BaseParam.PageNum > 500, 1, mae.BaseParam.PageNum).(int)
|
|
|
+ mae.FormatParam.PageNum = qutil.If(mae.BaseParam.PageNum < 1 || mae.BaseParam.PageNum > 1000, 1, mae.BaseParam.PageNum).(int)
|
|
|
//默认每页10条
|
|
|
- mae.FormatParam.PageSize = qutil.If(mae.BaseParam.PageSize < 1 || mae.BaseParam.PageSize > 50, 50, mae.BaseParam.PageSize).(int)
|
|
|
+ mae.FormatParam.PageSize = qutil.If(mae.BaseParam.PageSize < 1 || mae.BaseParam.PageSize > 100, 50, mae.BaseParam.PageSize).(int)
|
|
|
return nil
|
|
|
}
|
|
|
|