Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ os.makedirs("/tmp/hf_cache", exist_ok=True)
|
|
| 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
|
| 11 |
app = FastAPI()
|
| 12 |
|
| 13 |
|
|
@@ -36,6 +36,7 @@ app.include_router(hien_thi_hskh.router)
|
|
| 36 |
app.include_router(cap_nhat_hskh.router)
|
| 37 |
app.include_router(lay_thong_tin_pyc.router)
|
| 38 |
app.include_router(upload_pyc.router)
|
|
|
|
| 39 |
@app.get("/")
|
| 40 |
def root():
|
| 41 |
return {"message": "✅ Backend is running"}
|
|
|
|
| 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, bao_gia
|
| 11 |
app = FastAPI()
|
| 12 |
|
| 13 |
|
|
|
|
| 36 |
app.include_router(cap_nhat_hskh.router)
|
| 37 |
app.include_router(lay_thong_tin_pyc.router)
|
| 38 |
app.include_router(upload_pyc.router)
|
| 39 |
+
app.include_router(bao_gia.router)
|
| 40 |
@app.get("/")
|
| 41 |
def root():
|
| 42 |
return {"message": "✅ Backend is running"}
|