2019-07-21 18:20:01 +08:00
|
|
|
# -*- coding: utf-8 -*-
|
2019-07-22 14:50:06 +08:00
|
|
|
from flask import Blueprint
|
|
|
|
|
from common.libs.Helper import ops_render
|
2019-07-21 18:20:01 +08:00
|
|
|
|
|
|
|
|
route_food = Blueprint( 'food_page',__name__ )
|
|
|
|
|
|
|
|
|
|
@route_food.route( "/index" )
|
|
|
|
|
def index():
|
2019-07-22 14:50:06 +08:00
|
|
|
return ops_render( "food/index.html" )
|
2019-07-21 18:20:01 +08:00
|
|
|
|
|
|
|
|
@route_food.route( "/info" )
|
|
|
|
|
def info():
|
2019-07-22 14:50:06 +08:00
|
|
|
return ops_render( "food/info.html" )
|
2019-07-21 18:20:01 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
@route_food.route( "/set" )
|
|
|
|
|
def set():
|
2019-07-22 14:50:06 +08:00
|
|
|
return ops_render( "food/set.html" )
|
2019-07-21 18:20:01 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
@route_food.route( "/cat" )
|
|
|
|
|
def cat():
|
2019-07-22 14:50:06 +08:00
|
|
|
return ops_render( "food/cat.html" )
|
2019-07-21 18:20:01 +08:00
|
|
|
|
|
|
|
|
@route_food.route( "/cat-set" )
|
|
|
|
|
def catSet():
|
2019-07-22 14:50:06 +08:00
|
|
|
return ops_render( "food/cat_set.html" )
|