Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 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 # 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
|
| 4 |
app = FastAPI()
|
| 5 |
|
| 6 |
app.include_router(dem_pyc.router)
|
|
@@ -11,6 +11,7 @@ app.include_router(doanh_thu_dich_vu.router)
|
|
| 11 |
app.include_router(ds_pyc_tat_ca.router)
|
| 12 |
app.include_router(ds_pyc_hoan_thanh.router)
|
| 13 |
app.include_router(doanh_thu_chi_tiet.router)
|
|
|
|
| 14 |
@app.get("/")
|
| 15 |
def root():
|
| 16 |
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 # 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
|
| 4 |
app = FastAPI()
|
| 5 |
|
| 6 |
app.include_router(dem_pyc.router)
|
|
|
|
| 11 |
app.include_router(ds_pyc_tat_ca.router)
|
| 12 |
app.include_router(ds_pyc_hoan_thanh.router)
|
| 13 |
app.include_router(doanh_thu_chi_tiet.router)
|
| 14 |
+
app.include_router(pyc_chua_hoan_thanh.router)
|
| 15 |
@app.get("/")
|
| 16 |
def root():
|
| 17 |
return {"message": "✅ Backend is running"}
|