model/priorityLevel.go @@ -130,6 +130,11 @@ if total != 0 { return nil } records := []*PriorityLevel{} records := []*PriorityLevel{ {1, "低"}, {2, "一般"}, {3, "高"}, {4, "紧急"}, } return slf.CreateBatch(records) }