Class CoinAccountBalancePOServiceImpl
java.lang.Object
io.github.seenings.coin.service.impl.CoinAccountBalancePOServiceImpl
- All Implemented Interfaces:
CoinAccountBalanceService
@Repository
public class CoinAccountBalancePOServiceImpl
extends Object
implements CoinAccountBalanceService
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CoinAccountBalancePOServiceImpl
public CoinAccountBalancePOServiceImpl()
-
-
Method Details
-
accountIdCoinAmount
根据账户ID获取余额- Specified by:
accountIdCoinAmountin interfaceCoinAccountBalanceService- Parameters:
accountIds- 账户ID- Returns:
- 账户ID对应余额
-
set
设置账户余额- Specified by:
setin interfaceCoinAccountBalanceService- Parameters:
accountId- 账户IDamount- 虚拟币余额- Returns:
- 设置成功
-
add
添加余额- Specified by:
addin interfaceCoinAccountBalanceService- Parameters:
accountId- 账户IDoffsetAmount- 虚拟币余额偏移,正(+),负数(-)- Returns:
- 添加余额成功
-