已验证:
和在action中使用service层中的方法一样。
private TestTaskService testTaskService;
添加set.get 方法。
然后直接使用。
本文介绍如何在私有TestTaskService中使用set和get方法,并直接调用service层的方法,实现与action中的调用一致。
已验证:
和在action中使用service层中的方法一样。
private TestTaskService testTaskService;
添加set.get 方法。
然后直接使用。
1590
1296

被折叠的 条评论
为什么被折叠?