From de87766685c6a306e8aed688c46cc0b2b412dfeb Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期一, 22 四月 2024 15:45:34 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/silk/silkServer --- models/mentor.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/models/mentor.go b/models/mentor.go index 24ed1d1..3028b18 100644 --- a/models/mentor.go +++ b/models/mentor.go @@ -11,7 +11,7 @@ Mentor struct { gorm.Model WorkerId string `gorm:"unique_index:worker_id_month;type:varchar(255);not null;default:'';comment:宸ヤ汉ID" json:"workerId"` //宸ヤ汉ID - Worker Worker `gorm:"foreignkey:WorkerId" json:"worker"` //宸ヤ汉ID + Worker Worker `gorm:"foreignkey:WorkerId" json:"worker"` //宸ヤ汉 Creator string `gorm:"type:varchar(255);not null;default:'';comment:娣诲姞浜�" json:"creator"` Month string `gorm:"unique_index:worker_id_month;type:varchar(255);not null;default:'';comment:鏈堜唤" json:"month"` //鏈堜唤 Days int `gorm:"type:tinyint;not null;default:0;comment:澶╂暟" json:"days"` //澶╂暟 -- Gitblit v1.8.0