- Added a new feature for sharing profile cards, including special handling for forwarding to friends and displaying a canvas cover with user information. - Updated the mini program's profile-edit page to generate a shareable card with a structured layout, including user avatar, nickname, and additional information. - Improved the documentation to reflect the new sharing capabilities and updated the last modified date for relevant entries.
553 B
553 B
补全 persons.ckb_api_key
若存在 ckb_plan_id 但 ckb_api_key 为空的 Person,可手动调用 plan/detail 补全。
执行前:确保 soul-api 可连接存客宝(CKB_OPEN_API_KEY、CKB_OPEN_ACCOUNT 已配置)。
方式一:管理端逐个编辑保存(会触发存客宝同步,若 Person 无 ckb_api_key 需在编辑弹窗填写或重新创建)。
方式二:写一次性脚本,遍历 ckb_plan_id > 0 AND (ckb_api_key IS NULL OR ckb_api_key = '') 的 Person,调 ckbOpenGetPlanDetail 获取 apiKey 并 UPDATE。