fix: 综合修复(请求头打印、邮箱/用户名匹配、密钥显示、签名校验、删除报错等)

Made-with: Cursor
This commit is contained in:
npc0-hue
2026-03-12 09:21:21 +08:00
parent 4b5e2eaf35
commit d1b32f4310
9 changed files with 180 additions and 125 deletions
+3 -2
View File
@@ -2,9 +2,10 @@ package response
import "time"
// ForwardTokenInfo 转发 Token 列表项(脱敏后的 Token ID
// ForwardTokenInfo 转发 Token 列表项(不暴露内部 ID
type ForwardTokenInfo struct {
ID string `json:"id"`
ID string `json:"id"` // token
Seq int `json:"seq"` // 1..N 序列号(用于删除)
CreatedAt time.Time `json:"created_at"`
}
@@ -5,6 +5,7 @@ const SystemIntegrationDingTalk = uint(1) // 钉钉集成
const SystemIntegrationWeiXin = uint(2) // 微信集成
const SystemIntegrationFeiShu = uint(3) // 飞书集成
const SystemIntegrationOAuth2 = uint(4) // OAuth2集成
const BearerLength = 7 // OAuth2集成
// SystemIntegration 系统集成表
type SystemIntegration struct {