This commit is contained in:
aaron 2025-03-30 11:47:11 +08:00
parent f1871c74ea
commit d7efef091f
3 changed files with 4 additions and 2 deletions

View File

@ -20,8 +20,9 @@ from pydantic import BaseModel
from app.models.wecom_external_chat import WecomExternalChatDB, WecomExternalChatInfo, WecomExternalChatMemberDB, WecomExternalChatMemberInfo
router = APIRouter()
logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
def decrypt_msg(msg_encrypt: str, signature: str, timestamp: str, nonce: str) -> typing.Optional[str]:
"""解密企业微信消息"""

View File

@ -6,7 +6,8 @@ from app.core.config import settings
from typing import Dict, Any, Optional, List
import aiohttp
logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
class WecomClient:
"""企业微信客户端"""

Binary file not shown.