|
|
|
@ -26,7 +26,7 @@ class JournalsForMessage < ApplicationRecord
|
|
|
|
|
# "is_comprehensive_evaluation", # 1 教师评论、2 匿评、3 留言
|
|
|
|
|
# "hidden", 隐藏、
|
|
|
|
|
|
|
|
|
|
validates :notes, length: { maximum: 1000, too_long: "内容不能超过1000个字符" }
|
|
|
|
|
validates :notes, length: { maximum: 1000, message: "内容不能超过1000个字符" }
|
|
|
|
|
|
|
|
|
|
after_create :send_tiding
|
|
|
|
|
|
|
|
|
|