|
@@ -25,7 +25,8 @@ def doc_export(
|
|
|
token: str = Path(title='doc token', description="文档的token")
|
|
|
):
|
|
|
try:
|
|
|
- logger.info(f"{token=}")
|
|
|
+ request_id = str(uuid.uuid4()) #request_id_context.get()
|
|
|
+ logger.info(f"Request ID: {request_id}, Token: {token}")
|
|
|
word_downloda_url = f_doc_export(token)
|
|
|
if word_downloda_url:
|
|
|
return BaseResponse.ofSuccess(word_downloda_url)
|