#add message
This commit is contained in:
parent
289589b5fd
commit
c1b8d13815
|
@ -520,8 +520,8 @@ def backstage_data_download(request):
|
|||
results.append(o_qita)
|
||||
# print(results)
|
||||
t = int(time.time())
|
||||
os.popen('mkdir /var/www/p3/newmediamonitoring/static/upload/%s' % (t))
|
||||
f = '/var/www/p3/newmediamonitoring/static/upload/%s' % (t)
|
||||
os.popen('mkdir /var/www/p3/newmediamonitoring/static/upload')
|
||||
f = '/var/www/p3/newmediamonitoring/static/upload'
|
||||
with open(f+'/'+user.username+'.csv','w', newline='',encoding='utf-8') as csvfile:
|
||||
writer = csv.writer(csvfile)
|
||||
writer.writerow(["类型","名称", "单位", "别名", "状态", "ID", "关注量","新媒体标识码","功能","文章URL"])
|
||||
|
|
Loading…
Reference in New Issue