rogerxavier commited on
Commit
7425913
1 Parent(s): 352e40b

Update server/notify.py

Browse files
Files changed (1) hide show
  1. server/notify.py +3 -3
server/notify.py CHANGED
@@ -6,9 +6,9 @@ from .pydanticModel import *
6
  from .dao import tableStore
7
 
8
  router = APIRouter()
9
- #afdian的回调是post
10
- @router.get('/uu')
11
- @router.post('/uu')
12
  async def update_balance(afdianHookjson: AfdianHookJson):
13
 
14
  resp = {'ec': 200}
 
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}