- 新增 platform_tenant_wechat_apps 表(租户企微应用配置) - platform_apps 增加 require_jssdk 字段 - platform_tenant_apps 增加 wechat_app_id 关联字段 - 新增企微应用管理 API 和页面 - 应用管理页面增加 JS-SDK 开关 - 应用配置页面增加企微应用选择
This commit is contained in:
@@ -13,10 +13,8 @@ class TenantApp(Base):
|
||||
app_code = Column(String(50), nullable=False, default='tools')
|
||||
app_name = Column(String(100))
|
||||
|
||||
# 企业微信配置
|
||||
wechat_corp_id = Column(String(100))
|
||||
wechat_agent_id = Column(String(50))
|
||||
wechat_secret_encrypted = Column(Text)
|
||||
# 企业微信配置(关联 platform_tenant_wechat_apps)
|
||||
wechat_app_id = Column(Integer) # 关联的企微应用ID
|
||||
|
||||
# 鉴权配置
|
||||
access_token = Column(String(64)) # 访问令牌(长期有效)
|
||||
|
||||
Reference in New Issue
Block a user