| | |
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import com.xcong.excoin.modules.blackchain.service.*;
|
| | | import lombok.extern.slf4j.Slf4j;
|
| | | import org.springframework.stereotype.Service;
|
| | |
|
| | | import com.alibaba.fastjson.JSONObject;
|
| | | import com.xcong.excoin.common.LoginUserUtils;
|
| | | import com.xcong.excoin.common.response.Result;
|
| | | import com.xcong.excoin.modules.blackchain.service.BlockSerive;
|
| | | import com.xcong.excoin.modules.blackchain.service.BtcService;
|
| | | import com.xcong.excoin.modules.blackchain.service.EthService;
|
| | | import com.xcong.excoin.modules.blackchain.service.LtcService;
|
| | | import com.xcong.excoin.modules.blackchain.service.UsdtService;
|
| | | import com.xcong.excoin.modules.blackchain.service.XrpService;
|
| | | import com.xcong.excoin.modules.member.dao.MemberCoinAddressDao;
|
| | | import com.xcong.excoin.modules.member.dao.MemberDao;
|
| | | import com.xcong.excoin.modules.member.entity.MemberCoinAddressEntity;
|
| | |
| | | coinAddress.setLabel(uuid);
|
| | | memberMapper.insert(coinAddress);
|
| | | }
|
| | | if(!UsdtErc20UpdateService.ALL_ADDRESS_LIST.contains(address)){
|
| | | UsdtErc20UpdateService.ALL_ADDRESS_LIST.add(address);
|
| | | }
|
| | | }
|
| | | break;
|
| | | case "ROC":
|
| | | address = RocService.createWallet();
|
| | | map.put("address", address);
|
| | | break;
|
| | | default:
|
| | | break;
|
| | | }
|