automatay update feature

This commit is contained in:
2021-01-19 14:27:28 +07:00
parent 8cb9cd30bc
commit 74135e96de
4 changed files with 42 additions and 4 deletions

View File

@@ -419,4 +419,12 @@ class ApiController extends Controller {
}
}
public function actionReGenFeature() {
if (Yii::$app->request->isAjax) {
$updating = \app\models\SyncUrl::findOne(['key_config' => 'updating']);
$updating->data = "false";
return $updating->save();
}
}
}