uniapp,h5

setting.py 421B

12345678910111213141516
  1. # app/config/setting.py
  2. #MONGO_URI = 'mongodb://username:password@host:port'
  3. #MONGO_DBNAME = 'your_db_name'
  4. #MONGODB_SETTINGS = {
  5. # 'db': 'your_db_name',
  6. # 'host': 'your_db_host',
  7. # 'port': 27017,
  8. # 'username': 'your_db_username',
  9. # 'password': 'your_db_password',
  10. #}
  11. MONGO_URI = 'mongodb://127.0.0.1:27017/starter_db'
  12. MONGO_DBNAME = 'starter_db'
  13. JSON_AS_ASCII = False
  14. JWT_SECRET_KEY = 'heweidabangzi77!'