Commit 1a2c27c2 authored by Davve's avatar Davve

修改推送时间获取

parent d18fd366
......@@ -34,7 +34,7 @@ class PushUpdateOrCreateView(APIView):
def post(self, request):
id = request.POST.get('id', '')
creator_id = request.POST.get('creator_id')
push_time = analysis_time(request.POST.get('push_time', 0))
# push_time = analysis_time(request.POST.get('push_time', 0))
group_topic_id = request.POST.get('group_topic_id', '')
icon = request.POST.get('icon', '')
if icon.endswith('-w'):
......@@ -49,7 +49,7 @@ class PushUpdateOrCreateView(APIView):
data = {
'url': full_url,
'push_time': push_time,
'push_time': request.POST.get('push_time'),
'icon': icon,
'content': request.POST.get('content', ''),
'title': request.POST.get('title', ''),
......
......@@ -58,6 +58,7 @@
placeholder="选择日期时间"
style="width: 199px"
:picker-options="expireTimeOption"
value-format="yyyy-MM-dd HH:mm:ss"
/>
</el-form-item>
</el-col>
......
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