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 |
-
|
| 11 |
app = FastAPI()
|
| 12 |
|
| 13 |
|
|
@@ -29,6 +29,8 @@ app.include_router(tai_pdf.router)
|
|
| 29 |
app.include_router(danh_sach_pdf.router)
|
| 30 |
app.include_router(quy_trinh.router)
|
| 31 |
app.include_router(danh_muc_thiet_bi.router)
|
|
|
|
|
|
|
| 32 |
@app.get("/")
|
| 33 |
def root():
|
| 34 |
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
|
| 11 |
app = FastAPI()
|
| 12 |
|
| 13 |
|
|
|
|
| 29 |
app.include_router(danh_sach_pdf.router)
|
| 30 |
app.include_router(quy_trinh.router)
|
| 31 |
app.include_router(danh_muc_thiet_bi.router)
|
| 32 |
+
app.include_router(cap_nhat_hoa_chat.router)
|
| 33 |
+
app.include_router(quan_ly_hoa_chat.router)
|
| 34 |
@app.get("/")
|
| 35 |
def root():
|
| 36 |
return {"message": "✅ Backend is running"}
|