新增: AI工单处理工作台 v1.0
- Go Gin 后端 (19个源文件): 认证、工单CRUD、GLM AI分析、状态流转、备注、操作日志 - Arco Design Vue 前端: 登录、工单列表/详情/创建、AI分析触发与确认 - MySQL 5表: ticket_user/ticket_info/ticket_ai_analysis/ticket_operation_log/ticket_note - 部署: tk.1216.top HTTPS, Nginx反代
This commit is contained in:
16
backend/internal/model/operation_log.go
Normal file
16
backend/internal/model/operation_log.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type TicketOperationLog struct {
|
||||
Logid int `gorm:"primaryKey;autoIncrement" json:"logid"`
|
||||
Ticketid int `gorm:"not null" json:"ticketid"`
|
||||
Operatorid int `json:"operatorid"`
|
||||
Action string `gorm:"size:32;not null" json:"action"`
|
||||
Detail string `gorm:"type:text" json:"detail"`
|
||||
Createtime time.Time `json:"createtime"`
|
||||
}
|
||||
|
||||
func (TicketOperationLog) TableName() string {
|
||||
return "ticket_operation_log"
|
||||
}
|
||||
Reference in New Issue
Block a user