Merge branch 'dev911' into test
This commit is contained in:
commit
94bddbc8e5
2 files changed
+8
-5
No files matched your search
@@ -52,9 +52,10 @@ def _send_reminder(
|
||||
db.session.flush()
|
||||
except IntegrityError:
|
||||
return "skipped"
|
||||
# [STEP] 企微卡片跳转地址:指向员工培训聊天页(agent 16),由前端消费 training_type=lean_management
|
||||
# 自动展开精益页签;agent id 走配置,便于多环境调整,避免硬编码。
|
||||
jump_agent_id = int(current_app.config.get("WECOM_LEAN_TRAINING_JUMP_AGENT_ID") or 16)
|
||||
# [STEP] 企微卡片跳转地址:指向员工培训聊天页(默认 agent 27,content_profile=training),
|
||||
# 由前端 TrainingWorkspacePanel 消费 training_type=lean_management 自动展开精益页签;
|
||||
# agent id 走配置(app_settings/env 覆盖),便于多环境调整,避免硬编码。
|
||||
jump_agent_id = int(current_app.config.get("WECOM_LEAN_TRAINING_JUMP_AGENT_ID") or 27)
|
||||
result = send_wecom_event_message(
|
||||
event_type=event_type,
|
||||
user=recipient,
|
||||
|
||||
Reference in new issue
Block a user