def get_post(): res = models_handle.get_post() return render_template('user/post.html', res=res)
def get_postinfo(): res = models_handle.get_post() return json.dumps(res)