@iPhan
2017-08-07T04:13:36.000000Z
字数 1678
阅读 458
web server of NeverLand bank
func
a language choose page(汉语/English)
users' registion(submit a issue to the managers. The account will be in use after managers' check)
- users' log in / log out
- users' check balance
users' transfer
- auto-filled blank of recently tranfer account(a list)
managers' log in / log out (auto-distinguish. there shouldn't be a "manager-log-in block")
- managers' management
- check whether if an account can be built(show in managers' homepage after every refresh)
- delete an acount(balance should be zero)
- add/sub money to a specific account(submit a issue to the super-managers, and balance will change after super-managers' check)
- mamagers' check balance
managers' transfer
- auto-filled blank of recently tranfer account(a list)
super-managers' log in / log out (auto-distinguish. there shouldn't be a "super-manager-log-in block")
- super-managers' management
- check whether if a transfer can be execute(show in managers' homepage after every refresh. Show as a link, in which enclude the whole transfer chain)
- give an account privilege to be a manager
- check the whole users list(users & managers)(show as a link, in which ecnlude all message of the account)
- check todays' transfer(each transfer show as a link, in which enclude the whole transfer chain)
property
property of a manager
- by which super-manager
- honest record(times of submission being rejected)
property of a traansfer
- from/to
- submited by which manager
- ensured by which super-manager
sql
- users
- id
- name
- password(sha256)
- balance
- gender
- idCard
- managers
- id
- name
- password(sha256)
- gender
- idCard
- privateKey
- publicKey
- honestRecord
- fromWhichSuperManager
- superManagers
- id
- name
- password(sha256)
- gender
- idCard
- privateKey
- publicKey
- ensuredManagers(less than 10)
- transfer
- transferID
- from
- to
- amount
- timeStamp
- submitedByManager(only when "from" equal to NULL)
- signedBySuper-manager1(only when "from" equal to NULL)
- signedBySuper-manager2(only when "from" equal to NULL)