|
@@ -28,8 +28,9 @@ def get_db():
|
|
|
|
|
|
|
|
|
@app.post("/step_questions/submit")
|
|
|
-async def submit(request: Request):
|
|
|
- form_data = await request.form()
|
|
|
+def submit(request: Request):
|
|
|
+# form_data = await request.form()
|
|
|
+ form_data = request.form()
|
|
|
result = {
|
|
|
'sex': form_data.get('q1'),
|
|
|
'phone': form_data.get('q2'),
|