积分数值问题
This commit is contained in:
@@ -22,7 +22,6 @@ import com.mybatisflex.spring.service.impl.ServiceImpl;
|
|||||||
import jakarta.annotation.Resource;
|
import jakarta.annotation.Resource;
|
||||||
import org.apache.dubbo.config.annotation.DubboReference;
|
import org.apache.dubbo.config.annotation.DubboReference;
|
||||||
import org.apache.dubbo.config.annotation.DubboService;
|
import org.apache.dubbo.config.annotation.DubboService;
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -165,7 +164,7 @@ public class MkPointsUserServiceImpl extends ServiceImpl<MkPointsUserMapper, MkP
|
|||||||
.setTitle(points > 0 ? "积分到账" : "积分扣除")
|
.setTitle(points > 0 ? "积分到账" : "积分扣除")
|
||||||
.setContent(StrUtil.format("{}提醒:{} 积分已成功{},积分可用于兑换好物、抵扣消费,快来解锁权益!",
|
.setContent(StrUtil.format("{}提醒:{} 积分已成功{},积分可用于兑换好物、抵扣消费,快来解锁权益!",
|
||||||
points > 0 ? "积分到账" : "积分扣除",
|
points > 0 ? "积分到账" : "积分扣除",
|
||||||
points,
|
Math.abs(points),
|
||||||
points > 0 ? "存储你的账户" : "使用"));
|
points > 0 ? "存储你的账户" : "使用"));
|
||||||
acUserMsgService.addUserMsg(msg);
|
acUserMsgService.addUserMsg(msg);
|
||||||
return record.getId();
|
return record.getId();
|
||||||
|
|||||||
Reference in New Issue
Block a user