1
This commit is contained in:
parent
a583fcbc43
commit
26ba763997
@ -533,6 +533,10 @@ class ToolsController extends BaseController {
|
||||
'name' => $meta['name']
|
||||
)
|
||||
);
|
||||
if (array_key_exists($meta['name'], $data)) {
|
||||
return true;
|
||||
}
|
||||
$data[$meta['name']] = $meta;
|
||||
if (!$row) {
|
||||
echo 'INSERT INTO t_android(robot_id, name, createtime, modifytime)VALUES('
|
||||
. $meta['id'] . ",'" . $meta['name'] . "'," . myself()->_getNowTime() . ',' . myself()->_getNowTime() . ");\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user