|
@@ -25,6 +25,7 @@ from email.mime.base import MIMEBase
|
|
|
from email.mime.application import MIMEApplication
|
|
|
import random
|
|
|
import requests
|
|
|
+import datetime
|
|
|
|
|
|
|
|
|
app = FastAPI()
|
|
@@ -132,7 +133,8 @@ async def submit(request: Request):
|
|
|
'decoration_style': ','.join(form_data.getlist('q6')),
|
|
|
'decoration_budget': ','.join(form_data.getlist('q7')),
|
|
|
'decoration_size': ','.join(form_data.getlist('q8')),
|
|
|
- 'src':'SMS'
|
|
|
+ 'src':'SMS',
|
|
|
+ 'time_stamp': datetime.datetime.utcnow() + datetime.timedelta(hours=8)
|
|
|
}
|
|
|
print(result)
|
|
|
|