|
|
|
@@ -11,7 +11,7 @@ func GetSingleDailyPointLimitConfig() (*models.LimitConfigVO, error) { |
|
|
|
r, err := GetLimitConfigList(models.LimitConfigQueryOpts{ |
|
|
|
RefreshRate: models.PeriodDaily, |
|
|
|
Scope: models.LimitScopeSingleUser, |
|
|
|
LimitCode: "", |
|
|
|
LimitCode: models.SourceTypeAccomplishTask.Name(), |
|
|
|
LimitType: models.LimitTypeRewardPoint, |
|
|
|
}) |
|
|
|
if err != nil { |
|
|
|
@@ -27,7 +27,7 @@ func SetSingleDailyPointLimitConfig(limitNum int64, doer *models.User) error { |
|
|
|
l := &models.LimitConfigVO{ |
|
|
|
RefreshRate: models.PeriodDaily, |
|
|
|
Scope: models.LimitScopeSingleUser.Name(), |
|
|
|
LimitCode: "", |
|
|
|
LimitCode: models.SourceTypeAccomplishTask.Name(), |
|
|
|
LimitType: models.LimitTypeRewardPoint.Name(), |
|
|
|
LimitNum: limitNum, |
|
|
|
} |
|
|
|
|