|
|
@@ -610,10 +610,10 @@ public class SecondTradeRecordServiceImpl extends ServiceImpl<SecondTradeRecordM
|
|
|
if (userPoints < 500) {
|
|
|
SecondUserCreditRecord record = new SecondUserCreditRecord();
|
|
|
record.setUserId(userId);
|
|
|
- record.setPoints(50);
|
|
|
+ record.setPoints(10);
|
|
|
record.setPointsType(3);
|
|
|
secondUserCreditRecordMapper.insert(record);
|
|
|
- secondUserCreditMapper.updatePointsByUserId(userId, 50);
|
|
|
+ secondUserCreditMapper.updatePointsByUserId(userId, 10);
|
|
|
}
|
|
|
}
|
|
|
|