Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from fastapi import FastAPI
|
|
| 8 |
from routes import dem_pyc, tong_doanh_thu_pyc, dem_pyc_hoan_thanh, doanh_thu_theo_thang, doanh_thu_dich_vu, tai_pdf, danh_sach_pdf, quy_trinh, danh_muc_thiet_bi # hoặc import từ file dem_pyc nếu không có thư mục routes
|
| 9 |
from routes import ds_pyc_tat_ca, ds_pyc_hoan_thanh, doanh_thu_chi_tiet, pyc_chua_hoan_thanh, ty_le_dich_vu, doanh_thu_tong_hop, ds_pyc_cho_xu_ly, doanh_thu_tong, doanh_thu_noi_bo
|
| 10 |
from routes import cap_nhat_hoa_chat, quan_ly_hoa_chat, canh_bao_hoa_chat, hien_thi_hskh, cap_nhat_hskh, lay_thong_tin_pyc, upload_pyc, upload_kemtheo
|
| 11 |
-
from routes import banggia6, banggia2, banggia4, banggia3, danh_sach_thu_muc_khach_hang, banggia5
|
| 12 |
app = FastAPI()
|
| 13 |
|
| 14 |
|
|
@@ -44,6 +44,7 @@ app.include_router(banggia4.router)
|
|
| 44 |
app.include_router(banggia3.router)
|
| 45 |
app.include_router(danh_sach_thu_muc_khach_hang.router)
|
| 46 |
app.include_router(banggia5.router)
|
|
|
|
| 47 |
@app.get("/")
|
| 48 |
def root():
|
| 49 |
return {"message": "✅ Backend is running"}
|
|
|
|
| 8 |
from routes import dem_pyc, tong_doanh_thu_pyc, dem_pyc_hoan_thanh, doanh_thu_theo_thang, doanh_thu_dich_vu, tai_pdf, danh_sach_pdf, quy_trinh, danh_muc_thiet_bi # hoặc import từ file dem_pyc nếu không có thư mục routes
|
| 9 |
from routes import ds_pyc_tat_ca, ds_pyc_hoan_thanh, doanh_thu_chi_tiet, pyc_chua_hoan_thanh, ty_le_dich_vu, doanh_thu_tong_hop, ds_pyc_cho_xu_ly, doanh_thu_tong, doanh_thu_noi_bo
|
| 10 |
from routes import cap_nhat_hoa_chat, quan_ly_hoa_chat, canh_bao_hoa_chat, hien_thi_hskh, cap_nhat_hskh, lay_thong_tin_pyc, upload_pyc, upload_kemtheo
|
| 11 |
+
from routes import banggia6, banggia2, banggia4, banggia3, danh_sach_thu_muc_khach_hang, banggia5, chatbot_router
|
| 12 |
app = FastAPI()
|
| 13 |
|
| 14 |
|
|
|
|
| 44 |
app.include_router(banggia3.router)
|
| 45 |
app.include_router(danh_sach_thu_muc_khach_hang.router)
|
| 46 |
app.include_router(banggia5.router)
|
| 47 |
+
app.include_router(chatbot_router)
|
| 48 |
@app.get("/")
|
| 49 |
def root():
|
| 50 |
return {"message": "✅ Backend is running"}
|