Files
group_xinghuo_jinrong/scripts/agent/migrate-check-source-platform.sql
T
zhanghongyu_0626 c9cac1cdf9 feat(api): 更新代销平台 API v0.1,增强适当性检查功能
- 在 `risk_suitability_log` 表中新增 `check_source` 枚举值 `platform`,支持代销平台的适当性检查。
- 更新相关 SQL 脚本以适应新的数据结构,确保数据一致性。
- 修改文档以反映 API 的最新状态和测试基线,确保文档与实现保持一致。
- 测试基线更新至 530 passed, 0 skipped,确保系统稳定性。

此更新为代销平台提供了更全面的适当性检查能力,提升了系统的功能性与可维护性。
2026-09-08 21:44:16 +08:00

8 lines
345 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 代销平台适当性 API:risk_suitability_log.check_source 增 platform
-- 执行:mysql -u root -p jinrong_agent < scripts/agent/migrate-check-source-platform.sql
ALTER TABLE risk_suitability_log
MODIFY COLUMN check_source
ENUM('r02_trade','r02_chat','c11_inquiry','manual','platform')
NOT NULL DEFAULT 'r02_trade';