TestService
- package com.zbq.authorize;
- public interface TestService {
- public void view();
- public void modify();
- }
TestServiceImpl
- package com.zbq.authorize;
- public class TestServiceImpl implements TestService {
- public void modify() {
- System.out.println("用户修改数据");
- }
- public void view() {
- System.out.println("用户查看数据");
- }
- }
TestAction
- package com.zbq.authorize;
- public interface TestAction {
- public void view();
- public void modify();
- }