|
|
@@ -250,7 +250,7 @@ SQL;
|
|
|
|
|
|
$relationNode = array_column($relationNode, 'USER_NAME');
|
|
|
if (!in_array($fromUser['USER_NAME'], $relationNode)) {
|
|
|
- $this->addError($attribute, '转账失败:转入会员不是您的下级');
|
|
|
+ $this->addError($attribute, '转账失败:转入会员不是您的上级或下级');
|
|
|
return null;
|
|
|
}
|
|
|
return true;
|
|
|
@@ -345,7 +345,7 @@ SQL;
|
|
|
->queryAll();
|
|
|
$relationNodeFloor = array_column($relationNodeFloor, 'USER_NAME');
|
|
|
if (!in_array($fromUser['USER_NAME'], $relationNodeFloor)) {
|
|
|
- $this->addError($attribute, '转账失败:转入会员不是您的上级');
|
|
|
+ $this->addError($attribute, '转账失败:转入会员不是您的上级或下级');
|
|
|
return null;
|
|
|
}
|
|
|
}
|