Explorar el Código

诱捕器折线图

yf_ymm hace 5 años
padre
commit
51ab0d43b2
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      apps/Equipment/views.py

+ 3 - 1
apps/Equipment/views.py

@@ -291,7 +291,9 @@ class Garden_View(ListView):
 # 主页四级采摘进入的介绍页
 class Garden_Intro(ListView):
     def get(self,request):
-        return render(request, 'outerNet/pickIntro.html', context={})
+        pid = request.GET.get("id")
+        pick = Pick_Pub.objects.get(id=pid)
+        return render(request, 'outerNet/pickIntro.html', context={"pick":pick})
     def post(self,request):
         pass