Class CoinAccountApiImpl
java.lang.Object
io.github.seenings.coin.api.impl.CoinAccountApiImpl
- All Implemented Interfaces:
io.github.seenings.coin.api.CoinAccountApi
@RestController
public class CoinAccountApiImpl
extends Object
implements io.github.seenings.coin.api.CoinAccountApi
玫瑰币账户设置
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninitAccount(Long userId) 初始化账户sysAccountTypeToAccountId(Set<io.github.seenings.coin.enumeration.AccountType> accountTypes) 根据系统账户类型获取账户IDuserIdToAccountId(Set<Long> userIds) 根据用户ID获取账户ID
-
Constructor Details
-
CoinAccountApiImpl
public CoinAccountApiImpl()
-
-
Method Details
-
initAccount
-
userIdToAccountId
-
sysAccountTypeToAccountId
public Map<io.github.seenings.coin.enumeration.AccountType, Long> sysAccountTypeToAccountId(Set<io.github.seenings.coin.enumeration.AccountType> accountTypes) 根据系统账户类型获取账户ID- Specified by:
sysAccountTypeToAccountIdin interfaceio.github.seenings.coin.api.CoinAccountApi- Parameters:
accountTypes- 账户类型- Returns:
- 账户类型对应账户ID
-