Day22 [Mini Program] Credit Card (ATM), the shopping program calls the credit card program interface to pay

Program introduction:
   Realize common functions of credit card (ATM): (support multi-account login) 1. Withdrawal; 2. Repayment; 3. Transfer; 4. Check balance; );

Program structure:
ATM/
├── README
├── atm #ATM main process directory
│ ├── __init__.py
│ ├── bin #ATM executable file directory
│ │ ├── __init__.py
│ │ ├── atm. py #ATM execution program
│ │ └── manage.py #ATM management side, not implemented
│ ├── conf #Configuration file
│ │ ├── __init__.py
│ │ └── settings.py #Not implemented
│ ├─ ─ core #Main program
│ │ ├── __init__.py
│ │ ├── accounts.py #Used to load and store account data from files
│ │ ├── auth.py #User authentication module
│ │ ├── db_handler .py #Database connection engine
│ │ ├── logger.py #Logging module, not implemented
│ │ └──main.py #Main logic interactive program
│ ├── db #Store user data
│ │ ├── __init__. py
│ │ └── accounts #Use the username as the file name to store user data, one user per file

│ │ ├── liubei #User file
│ │ └── zhangfei #User file
│ └── log #Log directory, not implemented
│ ├── __init__.py
│ ├── access.log #User access and operation related Log
│ └── transactions.log #All transaction logs
└── shopping_mall #Electronic mall program, implemented separately

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325480528&siteId=291194637