改名
This commit is contained in:
@@ -335,8 +335,6 @@ use {$model_namespace}\\{$managerName};
|
||||
*/
|
||||
public function actionList(): string
|
||||
{
|
||||
$pWhere = array();' . $this->getWhere($fields) . '
|
||||
|
||||
//分页处理
|
||||
$count = $this->input->get(\'count\', -1);
|
||||
$order = $this->input->get(\'order\', \'id\');
|
||||
@@ -347,7 +345,7 @@ use {$model_namespace}\\{$managerName};
|
||||
}
|
||||
|
||||
//列表输出
|
||||
$model = ' . $managerName . '::find()->where($pWhere)->orderBy($order);
|
||||
$model = ' . $managerName . '::find()->where($this->input->gets())->orderBy($order);
|
||||
|
||||
if((int) $count === 1){
|
||||
$count = $model->count();
|
||||
|
||||
Reference in New Issue
Block a user