ruoyi-service/ruoyi-study/src/main/java/com/ruoyi/study/domain/TIntegralRecord.java
@@ -39,5 +39,12 @@ */ private Integer userId; /** * 前端用,返回积分变动类型 * * @return 变动类型中文字符串 */ public String getType() { return integral.startsWith("-") ? "减少" : "增加"; } }