rogerxavier commited on
Commit
610ae48
1 Parent(s): 503c6b7

Update server/notify.py

Browse files
Files changed (1) hide show
  1. server/notify.py +4 -4
server/notify.py CHANGED
@@ -7,10 +7,10 @@ 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
- @router.get('/uu/',response_model=AfdianResp)
13
- @router.post('/uu/',response_model=AfdianResp)
14
  async def update_balance(afdianHookjson: AfdianHookJson):
15
 
16
  resp = {'ec': 200}
 
7
 
8
  router = APIRouter()
9
  #afdian的回调是post huggingfaceb不知道抽什么风只能二级路由
10
+ @router.get('/uu')
11
+ @router.post('/uu')
12
+ @router.get('/uu/')
13
+ @router.post('/uu/')
14
  async def update_balance(afdianHookjson: AfdianHookJson):
15
 
16
  resp = {'ec': 200}