diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index e7cf0e142..ff1d4b887 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -349,7 +349,7 @@ class UsersController < ApplicationController # 通过login参数查询头歌账号信息,注册并登录 def autologin_register_by_educoder(edu_login) - req_params = { "login" => "#{edu_login}", "private_token" => "hriEn3UwXfJs3PmyXnSH" } + req_params = { "login" => "#{edu_login}", "private_token" => "hriEn3UwXfJs3PmyXnqQ" } api_url= "https://data.educoder.net" client = Faraday.new(url: api_url) response = client.public_send("get", "/api/sources/get_user_info_by_login", req_params)