Implement credit parse result polling and sentinel handling

This commit is contained in:
wkc
2026-05-18 10:56:25 +08:00
parent 9917d10e59
commit 1fadb38d99
25 changed files with 918 additions and 81 deletions

View File

@@ -26,7 +26,7 @@ app = FastAPI(
- **解析状态** - 轮询检查文件解析状态
- **文件删除** - 批量删除上传的文件
- **流水查询** - 分页获取银行流水数据
- **征信解析** - 读取 HTML 远程地址并返回结构化征信 payload
- **征信解析** - 发起 HTML 远程解析并通过结果接口返回结构化征信 payload
### 错误模拟
@@ -40,7 +40,8 @@ app = FastAPI(
2. 上传文件: POST /watson/api/project/remoteUploadSplitFile
3. 轮询解析状态: POST /watson/api/project/upload/getpendings
4. 获取流水: POST /watson/api/project/getBSByLogId
5. 征信解析: POST /api/service/interface/invokeService/xfeature
5. 征信解析发起: POST /api/service/interface/invokeService/xfeature
6. 征信解析结果: POST /api/service/interface/invokeService/xfeatureResult
""",
version=settings.APP_VERSION,
docs_url="/docs",