|
@@ -172,13 +172,13 @@ class AppColView(View):
|
|
version_time = request_dict.get('version_time', None)
|
|
version_time = request_dict.get('version_time', None)
|
|
id = request_dict.get('id', None)
|
|
id = request_dict.get('id', None)
|
|
if not id:
|
|
if not id:
|
|
- return response.json(444, 'content,id')
|
|
|
|
|
|
+ return response.json(444, 'id')
|
|
try:
|
|
try:
|
|
print (id)
|
|
print (id)
|
|
AppColophon = App_Colophon.objects.filter(id=id)
|
|
AppColophon = App_Colophon.objects.filter(id=id)
|
|
|
|
|
|
if AppColophon.exists():
|
|
if AppColophon.exists():
|
|
- AppColophon.update( lang=lang,
|
|
|
|
|
|
+ AppColophon.update(lang=lang,
|
|
newApp_version=newApp_version,
|
|
newApp_version=newApp_version,
|
|
version_time=version_time,
|
|
version_time=version_time,
|
|
content=content)
|
|
content=content)
|