freemarker的 TemplateDirectiveModel,注入对象为空。
@Service public class TestService {
public static String get() throws IOException {
return "sss";
}
public String getOne() throws IOException {
} }
收起
spring boot 所有对象都需要注入
报告相同问题?