Spaces:
Sleeping

doluong6 commited on
Commit
ef60cb6
·
verified ·
1 Parent(s): a32a6af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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, pyc_chua_hoan_thanh, ty_le_dich_vu, doanh_thu_tong_hop, ds_pyc_cho_xu_ly
4
  app = FastAPI()
5
 
6
  app.include_router(dem_pyc.router)
@@ -15,6 +15,7 @@ app.include_router(pyc_chua_hoan_thanh.router)
15
  app.include_router(ty_le_dich_vu.router)
16
  app.include_router(doanh_thu_tong_hop.router)
17
  app.include_router(ds_pyc_cho_xu_ly.router)
 
18
  @app.get("/")
19
  def root():
20
  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, ty_le_dich_vu, doanh_thu_tong_hop, ds_pyc_cho_xu_ly, doanh_thu_tong
4
  app = FastAPI()
5
 
6
  app.include_router(dem_pyc.router)
 
15
  app.include_router(ty_le_dich_vu.router)
16
  app.include_router(doanh_thu_tong_hop.router)
17
  app.include_router(ds_pyc_cho_xu_ly.router)
18
+ app.include_router(doanh_thu_tong.router)
19
  @app.get("/")
20
  def root():
21
  return {"message": "✅ Backend is running"}