rabin 2 years ago
parent
commit
d3ae7b836a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      service/agent/lib/Manage.php

+ 0 - 1
service/agent/lib/Manage.php

@@ -185,7 +185,6 @@ class Manage
                 if (!$parent_member) {
                     Dever::alert('错误的邀请码');
                 }
-                $order = Dever::db('agent/order')->find($id);
                 if ($order['mid'] == $parent_member['id']) {
                     Dever::alert('邀请人不能是自己');
                 }