dever 6 years ago
parent
commit
622ff2d6a3
1 changed files with 4 additions and 0 deletions
  1. 4 0
      product/lib/Manage.php

+ 4 - 0
product/lib/Manage.php

@@ -32,6 +32,10 @@ class Manage
         }
         
 
+        if ($info['invite_uid']) {
+            $user = Dever::db('passport/user')->one($info['invite_uid']);
+            $table['邀请人'] = $user['username'];
+        }
 
         return Dever::table($table);
     }