* fix bug.

This commit is contained in:
wangyidong
2019-09-23 16:26:54 +08:00
parent 8177758b87
commit 0a0ce92796
5 changed files with 11 additions and 8 deletions
+4 -3
View File
@@ -105,8 +105,9 @@ class api extends control
*/
public function sql($keyField = '')
{
$sql = isset($_POST['sql']) ? $this->post->sql : '';
$this->view->results = $this->api->sql($sql, $keyField);
die($this->display());
die();
//$sql = isset($_POST['sql']) ? $this->post->sql : '';
//$this->view->results = $this->api->sql($sql, $keyField);
//die($this->display());
}
}