Commit a9c495ea authored by 王浩's avatar 王浩

Merge branch 'haow/dev' into 'test'

fix code

See merge request alpha/saturn!86
parents 2465bc68 e8dbe70e
...@@ -124,7 +124,7 @@ class CreatePictorial(BaseView): ...@@ -124,7 +124,7 @@ class CreatePictorial(BaseView):
return self.error(self.get_ErrorInfo(ERROR.PARAMS_INCOMPLETE)) return self.error(self.get_ErrorInfo(ERROR.PARAMS_INCOMPLETE))
if not topic.get('content'): if not topic.get('content'):
return self.error(self.get_ErrorInfo(ERROR.PARAMS_INCOMPLETE)) return self.error(self.get_ErrorInfo(ERROR.PARAMS_INCOMPLETE))
if not topic.get('images'): if not topic.get('image'):
return self.error(self.get_ErrorInfo(ERROR.PARAMS_INCOMPLETE)) return self.error(self.get_ErrorInfo(ERROR.PARAMS_INCOMPLETE))
if not topic.get('create_time'): if not topic.get('create_time'):
return self.error(self.get_ErrorInfo(ERROR.PARAMS_INCOMPLETE)) return self.error(self.get_ErrorInfo(ERROR.PARAMS_INCOMPLETE))
......
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