|
|
@@ -67,7 +67,7 @@ public class GiftOrderService {
|
|
|
if (!asset.getUserId().equals(userId)) {
|
|
|
throw new BusinessException("无权限");
|
|
|
}
|
|
|
- if (!toUserId.equals(userId)) {
|
|
|
+ if (toUserId.equals(userId)) {
|
|
|
throw new BusinessException("不能送给自己");
|
|
|
}
|
|
|
if (!(asset.getStatus() == AssetStatus.NORMAL)) {
|