[func]重构notification generator