update api getNumberPerson
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user