rogerxavier commited on
Commit
12a3c7d
1 Parent(s): 2167d09

Update server/notify.py

Browse files
Files changed (1) hide show
  1. server/notify.py +2 -3
server/notify.py CHANGED
@@ -6,9 +6,8 @@ from .pydanticModel import *
6
  from .dao import tableStore
7
 
8
  router = APIRouter()
9
- #afdian的回调是post huggingfaceb不知道抽什么风只能二级路由
10
- @router.get('/uu',response_model=AfdianResp)
11
- @router.post('/uu',response_model=AfdianResp)
12
  async def update_balance(afdianHookjson: AfdianHookJson):
13
 
14
  resp = {'ec': 200}
 
6
  from .dao import tableStore
7
 
8
  router = APIRouter()
9
+ @router.get('/',response_model=AfdianResp)
10
+ @router.post('/',response_model=AfdianResp)
 
11
  async def update_balance(afdianHookjson: AfdianHookJson):
12
 
13
  resp = {'ec': 200}