freemarker的 TemplateDirectiveModel,注入对象为空。
@Service
public class TestService {
public static String get() throws IOException {
return "sss";
}
public String getOne() throws IOException {
return "sss";
}
}
freemarker的 TemplateDirectiveModel,注入对象为空。
@Service
public class TestService {
public static String get() throws IOException {
return "sss";
}
public String getOne() throws IOException {
return "sss";
}
}