|
|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.example.demo.serviceImpl.coin; |
|
|
|
|
|
|
|
import com.example.demo.Util.SimpleIdGenerator; |
|
|
|
import com.example.demo.domain.entity.UserGoldRecord; |
|
|
|
import com.example.demo.domain.vo.bean.BeanUserCard; |
|
|
|
import com.example.demo.mapper.bean.BeanUserMapper; |
|
|
|
@ -144,6 +145,7 @@ public class RechargeServiceImpl implements RechargeService { |
|
|
|
userGoldRecord.setType((byte) 0); |
|
|
|
userGoldRecord.setAuditStatus(0); |
|
|
|
userGoldRecord.setCreateTime(new Date()); |
|
|
|
userGoldRecord.setLinkId(SimpleIdGenerator.generateId()); |
|
|
|
rechargeMapper.add(userGoldRecord); |
|
|
|
return Result.success(); |
|
|
|
} |
|
|
|
|