| |
---|
| | return null; |
---|
| | } |
---|
| | } |
---|
| | |
---|
| | public String logoutAccount(String token) { |
---|
| | public Account logoutAccount(String token) { |
---|
| | Accounts.getInstance().getAccountToken(token).setLogin(false); |
---|
| | return ""; |
---|
| | return Accounts.getInstance().getAccountToken(token); |
---|
| | } |
---|
| | |
---|
| | public Account deleteAccount(String token) { |
---|
| | Account edit = Accounts.getInstance().getAccountToken(token); |
---|
| | userIDSet.remove(edit.getId()); |
---|
| | uniqueIDSet.remove(edit.getuniqueID()); |
---|
| | accounts.remove(edit); |
---|
| | return edit; |
---|
| | } |
---|
| | |
---|
| | public ArrayList<Account> getAccounts(){ |
---|
| | return accounts; |
---|
| | } |
---|
| | } |
---|
| | |
---|
| | |
k(ry
確認.
fbf300a
intomaster
fromAccounts
on 31 May 2018