update api getNumberPerson
This commit is contained in:
@@ -513,16 +513,12 @@ class ListManagementController extends Controller {
|
||||
}
|
||||
}
|
||||
|
||||
public function actionGetTotalFeature() {
|
||||
return ListManagement::find()->count();
|
||||
}
|
||||
|
||||
public function actionUpdateFeature() {
|
||||
if (Yii::$app->request->isAjax) {
|
||||
if (Yii::$app->request->isAjax) {
|
||||
Yii::$app->response->format = "json";
|
||||
file_get_contents("http://localhost:2305/update-feature?total=" . ListManagement::find()->count());
|
||||
return ["status" => true];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function actionChooseStaff() {
|
||||
|
||||
Reference in New Issue
Block a user