首先,准备service接口,两个 public interface AccountService { public void createAccount(Account account, int throwExpFlag) throws Exception; public void createAccountShell(Account account, int i) throws Exception; } public interface RoleService { public void c…