This commit is contained in:
2020-09-08 16:07:50 +08:00
parent 9a086a50d0
commit 6cbe538401
3 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -64,14 +64,14 @@ class Gii
$this->db = Snowflake::app()->db->get($db);
}
$redis = Snowflake::app()->getRedis();
if (!empty($input->get('t'))) {
$this->tableName = $input->get('t');
if (!empty($input->get('table'))) {
$this->tableName = $input->get('table');
$redis->del('column:' . $this->tableName);
}
if ($input->get('m', NULL)) {
if ($input->get('model', NULL)) {
$model = 1;
}
if ($input->get('c', NULL)) {
if ($input->get('controller', NULL)) {
$c = 1;
}
if ($input->get('isUpdate') == 1) {