server启动之后,填入callback
This commit is contained in:
@@ -17,7 +17,7 @@ def register_robot(appid, robot_instance):
|
||||
logger.info(f"已注册appid为{appid}的Robot实例")
|
||||
|
||||
|
||||
@router.post("/gewechat/callback")
|
||||
@router.post("/gewechat/message/callback")
|
||||
async def callback(request: Request):
|
||||
"""接收微信消息回调"""
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user