|
@@ -1,7 +1,7 @@
|
|
|
from flask import render_template, Blueprint, request, redirect, url_for
|
|
|
import requests
|
|
|
from backstage.utils.routes import update_manage_table
|
|
|
-from backstage.config import PORTAL_SERVER
|
|
|
+from backstage.config import PORTAL_SERVER, BHOUSE_SERVER
|
|
|
|
|
|
room_planner_app = Blueprint('room_planner', __name__)
|
|
|
|
|
@@ -13,7 +13,8 @@ def main():
|
|
|
title='規劃師服務',
|
|
|
form_url='room_planner.update',
|
|
|
page='room_planner',
|
|
|
- contents=response.json())
|
|
|
+ contents=response.json(),
|
|
|
+ bhouse_server=BHOUSE_SERVER)
|
|
|
|
|
|
|
|
|
@room_planner_app.route('/backstage/room_planner/update', methods=['POST'])
|