update api getNumberPerson

This commit is contained in:
2020-12-24 16:39:43 +07:00
parent 18ffc9c6f4
commit 86afa3a430
2 changed files with 7 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ class ApiController extends Controller {
/**
* {@inheritdoc}
*/
public function behaviors() {
public function behaviors() {
return [
'verbs' => [
'class' => VerbFilter::className(),
@@ -272,4 +272,8 @@ class ApiController extends Controller {
return $is_conn;
}
public function actionGetNumberPerson() {
return ListManagement::find()->count();
}
}