This commit is contained in:
wrmswindmill 2018-09-17 11:56:47 +08:00
parent dbc50e39f9
commit a706c89f0e
3 changed files with 7055 additions and 3 deletions

View File

@ -499,11 +499,12 @@ class ModifyAnnotationView(View):
# 把之前的is_latest设置为0
annotation.is_latest = 0
annotation.save()
anno_content = get_currentfile_QuestionAnswerComment_anno(file,content)
anno_content = annotation.content
return HttpResponse(json.dumps({"status": "success", "msg":"修改成功","anno_content":anno_content}), content_type='application/json')
else:
return HttpResponse(json.dumps({"status": "fail", "msg":"修改失败"}), content_type='application/json')
except:
except:
print(111)
return HttpResponse('{"status":"fail","msg":"修改失败"}', content_type='application/json')
@ -1426,4 +1427,4 @@ class GetProjectTreeView(View):
return HttpResponse(json.dumps({"status": "success","project_jstree":project_jstree}), content_type='application/json')
except:
return HttpResponse(json.dumps({"status": "fail"}), content_type='application/json')

7050
uwsgi.log

File diff suppressed because it is too large Load Diff

1
uwsgi.pid Normal file
View File

@ -0,0 +1 @@
5433