示例#1
0
 def response(self, para):
     if para == 'info':
         return json_response(self.basic_info)
     elif para == 'contents':
         return json_response(self.contents)
示例#2
0
 def response(self):
     dbdata = ContentList(self.contents).info
     return json_response(dbdata)
示例#3
0
 def response(self, request):
     if request == "items":
         return json_response(self.items_info)