class AppServiceImpl implements AppService, ApplicationListener<ConfigChangedEvent> {

    @Override
    public void save(App app) {
        app.setCreatedTime(System.currentTimeMillis());
        appRepository.save(app);
    }

}