| | |
| | | |
| | | |
| | | |
| | | ServerResponse updateUserAssets(Integer id, String amt); |
| | | ServerResponse updateUserAssets(Integer id, String amt,String type); |
| | | |
| | | |
| | | List<UserAssets> assetsByUserId(Integer userId); |
| | |
| | | * */ |
| | | Boolean availablebalanceChange(String accetType, Integer userId, EUserAssets eUserAssets, BigDecimal amount, String desc, String descType); |
| | | |
| | | /** |
| | | * ai交易 |
| | | * @param accetType |
| | | * @param userId |
| | | * @param eUserAssets |
| | | * @param amount |
| | | * @param buyAmount |
| | | * @return |
| | | */ |
| | | Boolean aiAvailableBalanceChange(String accetType, Integer userId, EUserAssets eUserAssets, BigDecimal amount, BigDecimal buyAmount); |
| | | |
| | | /** |
| | | * 根据汇率转换金额 |
| | | * @param amount 转换金额 |
| | | * @param rate 转换汇率 |
| | | * @return |
| | | */ |
| | | BigDecimal exchangeAmountByRate(BigDecimal amount, BigDecimal rate); |
| | | } |