From 67add2e2ee6f0df075faf8e98135a53cac037df0 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 6 Nov 2024 16:52:35 +0800 Subject: [PATCH] 1 --- webapp/controller/ToolsController.class.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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; }); }