python学习
This commit is contained in:
@@ -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" )
|
||||
|
||||
Reference in New Issue
Block a user