|
|
@@ -88,7 +88,7 @@ public class NFTService {
|
|
|
@Retryable(maxAttempts = 10, backoff = @Backoff(delay = 5000), value = BusinessException.class)
|
|
|
public synchronized NFT createToken(String toAccount, String tokenId) throws Exception {
|
|
|
log.info("开始执行EVM合约mint, toAccount: {}, tokenId: {}", toAccount, tokenId);
|
|
|
- if (Arrays.asList(env.getActiveProfiles()).contains("test")) {
|
|
|
+ if (Arrays.asList(env.getActiveProfiles()).contains("notifytest")) {
|
|
|
NFT nft = new NFT("1", tokenId, new BigInteger("1"), new BigInteger("1"));
|
|
|
log.info("测试服生成假token {}", tokenId);
|
|
|
return nft;
|