|
@@ -309,12 +309,12 @@ public class ClubServiceImpl implements ClubService {
|
|
|
beansHistory.setUserId(userId);
|
|
|
beansHistory.setArchiveId(archiveId);
|
|
|
beansHistory.setBeansType(13);
|
|
|
- beansHistory.setType(1);
|
|
|
- beansHistory.setNum(500);
|
|
|
+ beansHistory.setType(2);
|
|
|
+ beansHistory.setNum(100);
|
|
|
beansHistory.setPushStatus(0);
|
|
|
beansHistory.setAddTime(new Date());
|
|
|
registerMapper.insertBeansHistory(beansHistory);
|
|
|
- beansNum = beansNum - 50;
|
|
|
+ beansNum = beansNum - 100;
|
|
|
clubMapper.updateUserBeans(userId, beansNum);
|
|
|
return ResponseJson.success("抵扣成功");
|
|
|
}
|