新增: 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:
15
backend/internal/model/note.go
Normal file
15
backend/internal/model/note.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type TicketNote struct {
|
||||
Noteid int `gorm:"primaryKey;autoIncrement" json:"noteid"`
|
||||
Ticketid int `gorm:"not null" json:"ticketid"`
|
||||
Authorid int `json:"authorid"`
|
||||
Content string `gorm:"type:text;not null" json:"content"`
|
||||
Createtime time.Time `json:"createtime"`
|
||||
}
|
||||
|
||||
func (TicketNote) TableName() string {
|
||||
return "ticket_note"
|
||||
}
|
||||
Reference in New Issue
Block a user