diff --git a/webapp/controller/ToolsController.class.php b/webapp/controller/ToolsController.class.php index 97fca3da..2c1f644c 100644 --- a/webapp/controller/ToolsController.class.php +++ b/webapp/controller/ToolsController.class.php @@ -525,7 +525,16 @@ class ToolsController extends BaseController { public function genAndroid() { mt\Robot::traverse(function ($meta) { - echo json_encode($meta); + $row = SqlHelper::ormSelectOne + ($this->_getMysql(''), + 't_user', + array( + 'name' => $meta['name'] + ) + ); + if ($row) { + echo json_encode($meta); + } return true; }); }