This commit is contained in:
2024-07-24 20:56:35 +08:00
parent f49fd25478
commit 7fa99538d8

View File

@@ -9,7 +9,7 @@ import org.springframework.context.ApplicationContext
ApplicationContext ioc = ioc
def controller = ioc.getBean(CoalInfoController.class)
def objectMapper = ioc.getBean("objectMapper") as ObjectMapper
def objectMapper = ioc.getBean(ObjectMapper.class) as ObjectMapper