|
|
@@ -77,7 +77,7 @@ public class GiftOrderService {
|
|
|
}
|
|
|
int holdDays = sysConfigService.getInt("hold_days");
|
|
|
if (ChronoUnit.DAYS.between(asset.getCreatedAt(), LocalDateTime.now()) < holdDays) {
|
|
|
- throw new BusinessException("需持有满" + holdDays + "天才能寄售上架");
|
|
|
+ throw new BusinessException("需持有满" + holdDays + "天才能转赠");
|
|
|
}
|
|
|
if (toUserId.equals(userId)) {
|
|
|
throw new BusinessException("不能送给自己");
|