v4.0.14概览和日报
CI / verify (pull_request) Waiting to run

This commit is contained in:
2026-09-02 21:11:58 +08:00
parent e5fe8b903a
commit 68a4b7f984
41 changed files with 3815 additions and 1098 deletions
+20
View File
@@ -546,6 +546,26 @@ model WecomPushTemplate {
@@map("wecom_push_template")
}
/// 企微群机器人经营报告推送(日报 / 周报 / 月报,与事件消息推送分开)
model WecomReportPush {
id BigInt @id @default(autoincrement()) @db.UnsignedBigInt
kind String @unique @db.VarChar(16)
name String @db.VarChar(64)
webhookUrl String @map("webhook_url") @db.VarChar(512)
enabled Boolean @default(false)
mentionWecomUserId String? @map("mention_wecom_user_id") @db.VarChar(64)
sendHour Int @default(20) @map("send_hour")
sendMinute Int @default(0) @map("send_minute")
sendWeekday Int @default(1) @map("send_weekday")
sendMonthDay Int @default(1) @map("send_month_day")
lastSentPeriod String? @map("last_sent_period") @db.VarChar(16)
lastSentAt DateTime? @map("last_sent_at") @db.DateTime(3)
createdAt DateTime @default(now()) @map("created_at") @db.DateTime(3)
updatedAt DateTime @updatedAt @map("updated_at") @db.DateTime(3)
@@map("wecom_report_push")
}
/// HQ 语言模型 API 配置(非超管仅可见/可开关自己创建的)
model LlmApiConfig {
id BigInt @id @default(autoincrement()) @db.UnsignedBigInt