views.py 434 B

123456789101112131415161718
  1. from django.shortcuts import render
  2. from django.shortcuts import HttpResponse
  3. # Create your views here.
  4. def robot(request):
  5. html = '<html><body>家用机器人</body></html>'
  6. return HttpResponse(html)
  7. def monitoring(request):
  8. html = '<html><body>智能监控</body></html>'
  9. return HttpResponse(html)
  10. def face(request):
  11. html = '<html><body>人脸识别解决方案</body></html>'
  12. return HttpResponse(html)