1
This commit is contained in:
parent
ee139ae6f1
commit
67add2e2ee
@ -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;
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user