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