浏览代码

add simple pay api url

tomoya 1 周之前
父节点
当前提交
8bb60a0b6b
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      backend/app/app/api/api_v1/api.py

+ 2 - 1
backend/app/app/api/api_v1/api.py

@@ -1,7 +1,7 @@
 from fastapi import APIRouter
 
 from app.api.api_v1.endpoints import  login, users, utils, videos, images, reputations, ser_no
-from app.api.api_v1.endpoints import ytviewspayment, payment
+from app.api.api_v1.endpoints import ytviewspayment, payment, simplepay
 from app.api.api_v1.endpoints import ecpay
 from app.api.api_v1.endpoints import heartbeat
 
@@ -15,5 +15,6 @@ api_router.include_router(reputations.router, prefix="/reputations", tags=["repu
 api_router.include_router(ser_no.router, prefix="/ser_nos", tags=["serial numbers"])
 api_router.include_router(ytviewspayment.router, prefix="/payment", tags=["yt views payment"])
 api_router.include_router(payment.router, prefix="/payment", tags=["payment"])
+api_router.include_router(simplepay.router, prefix="/payment", tags=["simple payment"])
 api_router.include_router(ecpay.router, prefix="/ecpay", tags=["ecpay"])
 api_router.include_router(heartbeat.router, prefix="/heartbeat", tags=["heartbeat"])