|
|
@@ -249,7 +249,7 @@ public class UserService {
|
|
|
}
|
|
|
smsService.verify(phone, code);
|
|
|
Collection collection;
|
|
|
- if (collectionId != null) {
|
|
|
+ if (collectionId != null & !inviteType.equals(InviteType.AUCTION)) {
|
|
|
collection = collectionRepo.findById(collectionId).orElseThrow(new BusinessException("无藏品"));
|
|
|
// if (!collection.isOnShelf() || !collection.isSalable()) {
|
|
|
// collectionId = null;
|