cloudIDE saas定制api

This commit is contained in:
“xxq250” 2022-10-12 15:58:46 +08:00
parent 6d2a6e0331
commit 8b1f06f010
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class UsersController < ApplicationController
def info
@code = 1001
@message = "用户不存在"
if params[:token].present? && current_user.logged?
if params[:token].present?
@user = User.try_to_autologin(params[:token])
if @user.present?
@code = 1000