From 5c123fba177e6e2a2e6a84bc1f5670a008008943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cxxq250=E2=80=9D?= <“xxq250@qq.com”> Date: Wed, 21 Sep 2022 16:00:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=B4=E6=AD=8C=E6=8E=A5=E5=8F=A3=E6=9B=B4?= =?UTF-8?q?=E6=8D=A2=E5=AF=86=E9=92=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)