示例#1
0
	def GET(self):
		web.header('Content-Type', 'application/json')
		return CDiscussion.list_discussion(web.input())
示例#2
0
	def GET(self,id):
		print id
		web.header('Content-Type', 'application/json')
		return CDiscussion.get_discussion(id)