6fee1ca95ea9aaf92febfa641b7ca5e496c40118897cdbeb7713cc02132c16e2.json 17 KB

1
  1. {"nodes": [{"id": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "label": "monitor.py", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L1"}, {"id": "api_monitor_user_info", "label": "_user_info()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L27"}, {"id": "api_monitor_operlog_list", "label": "operlog_list()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L39"}, {"id": "api_monitor_operlogexportbody", "label": "OperLogExportBody", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L102"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "api_monitor_operlog_export", "label": "operlog_export()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L113"}, {"id": "api_monitor_operlog_detail", "label": "operlog_detail()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L167"}, {"id": "api_monitor_rationale_44", "label": "\u64cd\u4f5c\u65e5\u5fd7\u5206\u9875\u5217\u8868\uff08\u57fa\u4e8e API \u8bf7\u6c42\u65e5\u5fd7\u9002\u914d RuoYi OperLog \u7ed3\u6784\uff09", "file_type": "rationale", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L44"}, {"id": "api_monitor_rationale_118", "label": "\u5bfc\u51fa\u64cd\u4f5c\u65e5\u5fd7\uff08\u5f53\u524d\u7b5b\u9009\u5168\u91cf\uff0c\u6216 ids \u5df2\u9009\uff09\u3002", "file_type": "rationale", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L118"}], "edges": [{"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L4", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L5", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L7", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "pydantic", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L8", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L9", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "app_core_database", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L11", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "app_core_menu_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L12", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "app_core_response", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L13", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "app_crud_monitor_oper_log", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L14", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "app_schemas_monitor_operlog", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L15", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "app_utils_excel_export", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L16", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "api_monitor_user_info", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L27", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "api_monitor_operlog_list", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L39", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "api_monitor_operlogexportbody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L102", "weight": 1.0}, {"source": "api_monitor_operlogexportbody", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L102", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "api_monitor_operlog_export", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L113", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_api_monitor_py", "target": "api_monitor_operlog_detail", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L167", "weight": 1.0}, {"source": "api_monitor_operlog_list", "target": "api_monitor_user_info", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L48", "weight": 1.0}, {"source": "api_monitor_operlog_export", "target": "api_monitor_operlogexportbody", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L120", "weight": 1.0}, {"source": "api_monitor_operlog_export", "target": "api_monitor_user_info", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L121", "weight": 1.0}, {"source": "api_monitor_operlog_detail", "target": "api_monitor_user_info", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L174", "weight": 1.0}, {"source": "api_monitor_rationale_44", "target": "api_monitor_operlog_list", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L44", "weight": 1.0}, {"source": "api_monitor_rationale_118", "target": "api_monitor_operlog_export", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L118", "weight": 1.0}], "raw_calls": [{"caller_nid": "api_monitor_user_info", "callee": "strip", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L28"}, {"caller_nid": "api_monitor_user_info", "callee": "get", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L28"}, {"caller_nid": "api_monitor_user_info", "callee": "get", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L28"}, {"caller_nid": "api_monitor_user_info", "callee": "strip", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L30"}, {"caller_nid": "api_monitor_user_info", "callee": "get", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L30"}, {"caller_nid": "api_monitor_user_info", "callee": "get", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L30"}, {"caller_nid": "api_monitor_user_info", "callee": "strip", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L31"}, {"caller_nid": "api_monitor_user_info", "callee": "get", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L31"}, {"caller_nid": "api_monitor_user_info", "callee": "strip", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L32"}, {"caller_nid": "api_monitor_user_info", "callee": "get", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L32"}, {"caller_nid": "api_monitor_operlog_list", "callee": "list_oper_logs", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L49"}, {"caller_nid": "api_monitor_operlog_list", "callee": "get", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L60"}, {"caller_nid": "api_monitor_operlog_list", "callee": "success_response", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L63"}, {"caller_nid": "api_monitor_operlog_list", "callee": "error_response", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L74"}, {"caller_nid": "api_monitor_operlog_list", "callee": "str", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L74"}, {"caller_nid": "api_monitor_operlog_export", "callee": "list_oper_logs", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L122"}, {"caller_nid": "api_monitor_operlog_export", "callee": "get", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L133"}, {"caller_nid": "api_monitor_operlog_export", "callee": "get", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L136"}, {"caller_nid": "api_monitor_operlog_export", "callee": "get", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L137"}, {"caller_nid": "api_monitor_operlog_export", "callee": "int", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L137"}, {"caller_nid": "api_monitor_operlog_export", "callee": "str", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L137"}, {"caller_nid": "api_monitor_operlog_export", "callee": "get", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L138"}, {"caller_nid": "api_monitor_operlog_export", "callee": "get", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L139"}, {"caller_nid": "api_monitor_operlog_export", "callee": "int", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L139"}, {"caller_nid": "api_monitor_operlog_export", "callee": "str", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L139"}, {"caller_nid": "api_monitor_operlog_export", "callee": "append", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L145"}, {"caller_nid": "api_monitor_operlog_export", "callee": "append", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L147"}, {"caller_nid": "api_monitor_operlog_export", "callee": "append", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L149"}, {"caller_nid": "api_monitor_operlog_export", "callee": "filter_export_columns", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L150"}, {"caller_nid": "api_monitor_operlog_export", "callee": "strftime", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L151"}, {"caller_nid": "api_monitor_operlog_export", "callee": "now", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L151"}, {"caller_nid": "api_monitor_operlog_export", "callee": "export_rows_to_xlsx_response", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L152"}, {"caller_nid": "api_monitor_operlog_export", "callee": "get", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L154"}, {"caller_nid": "api_monitor_operlog_export", "callee": "error_response", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L161"}, {"caller_nid": "api_monitor_operlog_export", "callee": "str", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L161"}, {"caller_nid": "api_monitor_operlog_export", "callee": "error_response", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L163"}, {"caller_nid": "api_monitor_operlog_export", "callee": "str", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L163"}, {"caller_nid": "api_monitor_operlog_detail", "callee": "get_oper_log", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L175"}, {"caller_nid": "api_monitor_operlog_detail", "callee": "get", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L175"}, {"caller_nid": "api_monitor_operlog_detail", "callee": "error_response", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L177"}, {"caller_nid": "api_monitor_operlog_detail", "callee": "success_response", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L178"}, {"caller_nid": "api_monitor_operlog_detail", "callee": "error_response", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L180"}, {"caller_nid": "api_monitor_operlog_detail", "callee": "str", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/api/monitor.py", "source_location": "L180"}]}