邮箱问题

dev_aliyun
daiao 6 years ago
parent 2365787cf1
commit cb118cb9ff

@ -3043,6 +3043,7 @@ end
user.grade = 0
user.password = "12345678"
user.phone = list[5].blank? ? nil : list[5]
user.mail = nil
if user.save
ue = UserExtensions.new(:user_id => user.id, :gender => 0, :school_id => school_id, :location => school.province, :location_city => school.city, :identity => list[3].to_i, :student_id => list[0].to_s.strip, :department_id => department.try(:id))
if list[3] && list[3].to_i == 0

Loading…
Cancel
Save