-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #146 from Lixuhuilll/NotEnoughRating
修改默认情况下显示评分不足时所需的评分量,并允许该项配置修改
- Loading branch information
Showing
4 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
src/main/java/plus/maa/backend/config/external/Copilot.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package plus.maa.backend.config.external; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class Copilot { | ||
|
||
/** | ||
* 作业评分总数少于指定值时显示评分不足 | ||
* <p> | ||
* 默认值:50 | ||
*/ | ||
private int minValueShowNotEnoughRating = 50; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,8 @@ maa-copilot: | |
ssl: false | ||
#邮件通知 | ||
notification: true | ||
copilot: | ||
min-value-show-not-enough-rating: 50 | ||
|
||
|
||
|
||
|