v4.0.17企业微信API插件优化
This commit is contained in:
@@ -493,6 +493,23 @@ model WecomBot {
|
||||
@@map("wecom_bot")
|
||||
}
|
||||
|
||||
/// 企微智能机器人 API 插件实例(v3.5.17 · 多 Key + 工具权限)
|
||||
model WecomApiPlugin {
|
||||
id BigInt @id @default(autoincrement()) @db.UnsignedBigInt
|
||||
name String @db.VarChar(64)
|
||||
apiKey String @unique @map("api_key") @db.VarChar(128)
|
||||
/// JSON 字符串数组,工具权限
|
||||
permissions String @db.Text
|
||||
remark String? @db.VarChar(256)
|
||||
enabled Boolean @default(true)
|
||||
sortOrder Int @default(0) @map("sort_order")
|
||||
createdAt DateTime @default(now()) @map("created_at") @db.DateTime(3)
|
||||
updatedAt DateTime @updatedAt @map("updated_at") @db.DateTime(3)
|
||||
|
||||
@@index([enabled, sortOrder])
|
||||
@@map("wecom_api_plugin")
|
||||
}
|
||||
|
||||
/// 企微机器人操作审计
|
||||
model LogWecomBot {
|
||||
id BigInt @id @default(autoincrement()) @db.UnsignedBigInt
|
||||
|
||||
Reference in New Issue
Block a user