|
|
|
@ -73,8 +73,7 @@ class UsersController < ApplicationController
|
|
|
|
|
|
|
|
|
|
@user_url = "/users/#{@user.login}"
|
|
|
|
|
@career = Career.where(status: true).order("created_at asc").pluck(:id, :name)
|
|
|
|
|
ec_user = EcSchoolUser.where(:user_id => current_user.id).first
|
|
|
|
|
@auth = ec_user ? "#{@old_domain}/ecs/department?school_id=#{ec_user.school_id}" : nil
|
|
|
|
|
@auth = User.current.ec_school.present? ? "#{@old_domain}/ecs/department?school_id=#{User.current.ec_school}" : nil
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 用户回复功能
|
|
|
|
|