Commit 0ab46ca9 authored by 杨成林's avatar 杨成林

Merge branch 'ycl/survey' into 'dev'

fix

See merge request alpha/sun!357
parents 608be81a dda2e645
from utils.base import APIView import json
from utils.base import APIView, get_offset_count from utils.base import APIView, get_offset_count
...@@ -23,7 +23,7 @@ class SurveyView(APIView): ...@@ -23,7 +23,7 @@ class SurveyView(APIView):
def post(self, request): def post(self, request):
questions = request.POST.get('questions') questions = json.loads(request.POST.get('questions'))
data = { data = {
"name": request.POST.get('name', ""), "name": request.POST.get('name', ""),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment