update api getTotalFeature
This commit is contained in:
parent
22f3a3f650
commit
18ffc9c6f4
|
@ -513,6 +513,10 @@ class ListManagementController extends Controller {
|
|||
}
|
||||
}
|
||||
|
||||
public function actionGetTotalFeature() {
|
||||
return ListManagement::find()->count();
|
||||
}
|
||||
|
||||
public function actionUpdateFeature() {
|
||||
if (Yii::$app->request->isAjax) {
|
||||
Yii::$app->response->format = "json";
|
||||
|
|
Loading…
Reference in New Issue
Block a user