|
|
@@ -491,12 +491,11 @@ public class AssetService {
|
|
|
case "转让":
|
|
|
userHistory.setDescription(tokenHistory.getToUserId().equals(userId) ? "作品交易——买入" : "作品交易——售出");
|
|
|
break;
|
|
|
- case "空投":
|
|
|
- userHistory.setDescription("空投");
|
|
|
- break;
|
|
|
case "转赠":
|
|
|
userHistory.setDescription(tokenHistory.getToUserId().equals(userId) ? "他人赠送" : "作品赠送");
|
|
|
break;
|
|
|
+ default:
|
|
|
+ userHistory.setDescription(tokenHistory.getOperation());
|
|
|
}
|
|
|
return userHistory;
|
|
|
});
|
|
|
@@ -535,12 +534,11 @@ public class AssetService {
|
|
|
case "转让":
|
|
|
userHistory.setDescription(tokenHistory.getToUserId().equals(userId) ? "作品交易——买入" : "作品交易——售出");
|
|
|
break;
|
|
|
- case "空投":
|
|
|
- userHistory.setDescription("空投");
|
|
|
- break;
|
|
|
case "转赠":
|
|
|
userHistory.setDescription(tokenHistory.getToUserId().equals(userId) ? "他人赠送" : "作品赠送");
|
|
|
break;
|
|
|
+ default:
|
|
|
+ userHistory.setDescription(tokenHistory.getOperation());
|
|
|
}
|
|
|
return userHistory;
|
|
|
});
|