Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
-
from routes import dem_pyc, tong_doanh_thu_pyc, dem_pyc_hoan_thanh, doanh_thu_theo_thang, doanh_thu_dich_vu, tai_pdf # hoặc import từ file dem_pyc nếu không có thư mục routes
|
| 3 |
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
|
| 4 |
app = FastAPI()
|
| 5 |
|
|
@@ -18,6 +18,7 @@ app.include_router(ds_pyc_cho_xu_ly.router)
|
|
| 18 |
app.include_router(doanh_thu_tong.router)
|
| 19 |
app.include_router(doanh_thu_noi_bo.router)
|
| 20 |
app.include_router(tai_pdf.router)
|
|
|
|
| 21 |
@app.get("/")
|
| 22 |
def root():
|
| 23 |
return {"message": "✅ Backend is running"}
|
|
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
+
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 # hoặc import từ file dem_pyc nếu không có thư mục routes
|
| 3 |
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
|
| 4 |
app = FastAPI()
|
| 5 |
|
|
|
|
| 18 |
app.include_router(doanh_thu_tong.router)
|
| 19 |
app.include_router(doanh_thu_noi_bo.router)
|
| 20 |
app.include_router(tai_pdf.router)
|
| 21 |
+
app.include_router(danh_sach_pdf.router)
|
| 22 |
@app.get("/")
|
| 23 |
def root():
|
| 24 |
return {"message": "✅ Backend is running"}
|