package com.se.docker.service; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; @Service @SuppressWarnings("ALL") public class SysDockerService { //@Value("${docker.prefix}") public String localFilePrefix; public String test() throws Exception { return "docker: " + System.currentTimeMillis(); } }