Refactor(Statistics): Correct incorrect spelling

Correct WEAK to WEEK
This commit is contained in:
2024-04-22 15:12:12 +08:00
parent bda2bbf997
commit 27ed533530
2 changed files with 10 additions and 10 deletions

View File

@@ -20,14 +20,14 @@ data class ActiveInfoGetParam(
*/ */
@Schema( @Schema(
description = "范围", description = "范围",
allowableValues = ["WEAK", "MONTH", "QUARTER", "YEAR", "TWO_YEARS", "THREE_YEARS", "FIVE_YEARS", "ALL"], allowableValues = ["WEEK", "MONTH", "QUARTER", "YEAR", "TWO_YEARS", "THREE_YEARS", "FIVE_YEARS", "ALL"],
defaultValue = "WEAK", defaultValue = "WEEK",
example = "WEAK" example = "WEEK"
) )
val scope: Scope = Scope.WEAK val scope: Scope = Scope.WEEK
) { ) {
enum class Scope(@field:EnumValue @field:JsonValue val code: String) { enum class Scope(@field:EnumValue @field:JsonValue val code: String) {
WEAK("WEAK"), WEEK("WEEK"),
MONTH("MONTH"), MONTH("MONTH"),

View File

@@ -20,16 +20,16 @@ data class OnlineInfoGetParam(
*/ */
@Schema( @Schema(
description = "范围", description = "范围",
allowableValues = ["WEAK", "MONTH", "QUARTER", "YEAR", "TWO_YEARS", "THREE_YEARS", "FIVE_YEARS", "ALL"], allowableValues = ["WEEK", "MONTH", "QUARTER", "YEAR", "TWO_YEARS", "THREE_YEARS", "FIVE_YEARS", "ALL"],
defaultValue = "WEAK", defaultValue = "WEEK",
example = "WEAK" example = "WEEK"
) )
val scope: Scope = Scope.WEAK val scope: Scope = Scope.WEEK
) { ) {
enum class Scope(@field:EnumValue @field:JsonValue val code: String) { enum class Scope(@field:EnumValue @field:JsonValue val code: String) {
DAY("DAY"), DAY("DAY"),
WEAK("WEAK"), WEEK("WEEK"),
MONTH("MONTH"), MONTH("MONTH"),