diff --git a/ruoyi-fastapi-backend/module_admin/annotation/log_annotation.py b/ruoyi-fastapi-backend/module_admin/annotation/log_annotation.py index e038e0b15909f884e7439657d2dadc2abf4e5e0c..9242f29af68663b5932343d8ccbab66faf76321b 100644 --- a/ruoyi-fastapi-backend/module_admin/annotation/log_annotation.py +++ b/ruoyi-fastapi-backend/module_admin/annotation/log_annotation.py @@ -85,7 +85,8 @@ class Log: path_params = request.path_params oper_param = {} if payload: - oper_param.update(json.loads(str(payload, 'utf-8'))) + payload_data = json.loads(str(payload, 'utf-8')) + oper_param.update({"body": payload_data}) if path_params: oper_param.update(path_params) oper_param = json.dumps(oper_param, ensure_ascii=False)