改名
This commit is contained in:
@@ -287,7 +287,7 @@ use {$model_namespace}\\{$managerName};
|
|||||||
if (!$model->delete()) {
|
if (!$model->delete()) {
|
||||||
return JSON::to(500, DB_ERROR_BUSY);
|
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);
|
$model = ' . $managerName . '::find()->where($this->input->gets())->orderBy($order);
|
||||||
|
|
||||||
if ((int) $count === 1) {
|
if ((int) $count === 1) {
|
||||||
$count = $model->count();
|
$count = $model->count();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user