python学习

This commit is contained in:
2019-07-22 14:50:06 +08:00
parent accd7523be
commit 40dac844cc
19 changed files with 621 additions and 400 deletions

View File

@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
from flask import Blueprint,render_template
from flask import Blueprint
from common.libs.Helper import ops_render
route_stat = Blueprint( 'stat_page',__name__ )
@route_stat.route( "/index" )
def index():
return render_template( "stat/index.html" )
return ops_render( "stat/index.html" )
@route_stat.route( "/food" )
def food():
return render_template( "stat/food.html" )
return ops_render( "stat/food.html" )
@route_stat.route( "/member" )
def memebr():
return render_template( "stat/member.html" )
return ops_render( "stat/member.html" )
@route_stat.route( "/share" )
def share():
return render_template( "stat/share.html" )
return ops_render( "stat/share.html" )