Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_forum
SylorHuang 5 years ago
commit 5ff7e20f9d

@ -407,7 +407,7 @@ class User < ApplicationRecord
name = lastname + firstname
name.blank? ? (nickname.blank? ? login : nickname) : name
name.gsub(/\s+/, '').strip #6.11 -hs
name.gsub(/\s+/, '').gsub(/\n/, '').strip #6.11 -hs
end
# 用户是否选题毕设课题

Loading…
Cancel
Save