about.py 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import jimit as ji
  4. from flask import Blueprint
  5. from jimvc.models import Utils
  6. __author__ = 'James Iter'
  7. __date__ = '2018/10/2'
  8. __contact__ = 'james.iter.cn@gmail.com'
  9. __copyright__ = '(c) 2018 by James Iter.'
  10. blueprint = Blueprint(
  11. 'api_about',
  12. __name__,
  13. url_prefix='/api/about'
  14. )
  15. blueprints = Blueprint(
  16. 'api_abouts',
  17. __name__,
  18. url_prefix='/api/abouts'
  19. )
  20. @Utils.dumps2response
  21. def r_get():
  22. ret = dict()
  23. ret['state'] = ji.Common.exchange_state(20000)
  24. ret['data'] = {
  25. 'version': 0.8,
  26. 'desc': """
  27. JimV 是一套舒适的驾驭系统。通过它,您可以轻松自如地,让那匹彪悍烈马,把您带上长空云霄。
  28. "舒适",是设计 JimV 的哲学理念。其中包含的意义有 "平滑、自在、敏捷、可控"。您所想、所要的,
  29. 只需轻触鼠标,即可信手捏来。""",
  30. 'copyright': '版权所有2019 上海正微网络科技有限公司。 保留所有权利。'
  31. }
  32. return ret