- 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反代
17 lines
472 B
Go
17 lines
472 B
Go
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"
|
|
}
|