fix message
This commit is contained in:
parent
ae3d2fb7ae
commit
beed9b3662
@ -78,7 +78,7 @@ def read_switchs(db: Session = Depends(get_db),
|
|||||||
return return_list
|
return return_list
|
||||||
|
|
||||||
|
|
||||||
@router.put("/switchs", summary="设置通知消息渠道开关", response_model=schemas.Response)
|
@router.post("/switchs", summary="设置通知消息渠道开关", response_model=schemas.Response)
|
||||||
def set_switchs(switchs: List[NotificationSwitch],
|
def set_switchs(switchs: List[NotificationSwitch],
|
||||||
db: Session = Depends(get_db),
|
db: Session = Depends(get_db),
|
||||||
_: schemas.TokenPayload = Depends(verify_token)) -> Any:
|
_: schemas.TokenPayload = Depends(verify_token)) -> Any:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user