Commit b990dac6 authored by wanli's avatar wanli

push

parent a2ab0a4f
......@@ -7,7 +7,9 @@ class {{ contronller['className'] }}(object):
def get(self, params):
# handle business
pass
result = {{ model['className'] }}.query.filter(*filters).order_by({{ model['className'] }}.areaId).paginate(args.currentPage, args.pageSize, error_out=False)
return result
def post(self, params):
# handle business
......
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