create: 平台工参导出接口

MemRelay-Operation: memory-save:nqi-gongcan-download-20261110-1
MemRelay-Resource: 84d426a9-a184-4d1c-b84c-6dba63f37777
This commit is contained in:
2026-11-10 21:40:54 +08:00
parent 7459014bc7
commit 7c27e23e74
@@ -0,0 +1,35 @@
---
title: 平台工参导出接口
type: fact
permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/平台工参导出接口
stable_id: 84d426a9-a184-4d1c-b84c-6dba63f37777
scope: project
memory_type: fact
project_id: d5a7f581-c442-4554-87b9-ee723b8b0258
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: nqi-gongcan-download-20261110-1
created_at: '2026-11-10T13:40:51.351339+00:00'
updated_at: '2026-11-10T13:40:51.351339+00:00'
tags:
- NQI
- 工参
- 经纬度
- OpenCode
---
## 来源
nqi-opencode.chlz 是 OpenCode 页面抓包,没有 pro-assistant-server 的实际请求。导出说明在会话 ses_e3a7adae3ffe4QxrqaKUPgGATq,对应脚本 download-file-all-async.py。
## 请求
- POST https://nqi.gmcc.net:20443/pro-assistant-server/smart/file/download
- 只有请求头 Content-Type: application/json,不发 Cookie。
- 鉴权是查询参数 tickets,值来自 OpenCode 运行环境的 OPENCODE_TOOL_TICKET,不是门户 CASTGC。
- 请求体是 {"sql": "..."},响应是流式 CSV。
- 2026-11-10 用账号池里 dwmoyingda 的 CASTGC 从线上服务器和本机请求,该路径均被 nginx 返回 403;同一会话访问即席查询正常。
## 表
- 4G:appdbv3.a_common_cfg_lte_cellant_d,通用 LTE 工程参数_天。longitude、latitude 是 numeric(22,6)。
- 5G:appdbv3.a_common_cfg_nr_cellant_d,通用 5G 工程参数_天。
- 当前记录用 curr_flag = true,地市用 city = '江门'。这两张是平台上未脱敏的经纬度来源;即席查询结果表里的经纬度仍是脱敏值。