This commit is contained in:
2021-04-07 10:24:43 +08:00
parent 01ec8d12e6
commit 5e6725015d
+1 -2
View File
@@ -287,7 +287,7 @@ use {$model_namespace}\\{$managerName};
if (!$model->delete()) {
return JSON::to(500, DB_ERROR_BUSY);
}
return JSON::to(0, $model);
return JSON::to(0, $_key);
}';
}
@@ -396,7 +396,6 @@ use {$model_namespace}\\{$managerName};
//列表输出
$model = ' . $managerName . '::find()->where($this->input->gets())->orderBy($order);
if ((int) $count === 1) {
$count = $model->count();
}