dev_aliyun
cxt 6 years ago
parent adfbd53ca4
commit 167cbbcd9c

@ -3032,6 +3032,7 @@ end
user.certification = 1
user.grade = 0
user.password = "12345678"
user.phone = list[5]
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], :student_id => list[0], :department_id => department.try(:id))
if list[3] && list[3].to_i == 0

Loading…
Cancel
Save