邓淳远、崔鹏宇、翁思扬组云计算期末项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

36 lines
998 B

from flask import Flask, render_template, request, jsonify, session, Blueprint
from bson import json_util
import uuid
from APP.view.database import db_session
from APP.view.model import Block, CollectionBlock
bp_start = Blueprint("start", __name__)
@bp_start.route("/", methods=["POST",'GET'])
def hello():
return render_template('login.html')
@bp_start.route("/login", methods=["POST",'GET'])
def login():
return render_template('login.html')
@bp_start.route("/register", methods=["POST",'GET'])
def register():
return render_template('register.html')
@bp_start.route("/forget", methods=["POST",'GET'])
def forget():
return render_template('forget.html')
@bp_start.route("/personal", methods=["POST",'GET'])
def personal():
return render_template('personal.html')
@bp_start.route("/square", methods=["POST",'GET'])
def square():
return render_template('square.html')
@bp_start.route("/add", methods=["POST",'GET'])
def add():
return render_template('add.html')