From afbf8f337e6a43d4f8fffd09b75577714d7bfed9 Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Tue, 14 Jul 2020 20:32:08 +0800 Subject: [PATCH] change --- app/controllers/sync_forge_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/sync_forge_controller.rb b/app/controllers/sync_forge_controller.rb index 31b14e9a..cd04e0c2 100644 --- a/app/controllers/sync_forge_controller.rb +++ b/app/controllers/sync_forge_controller.rb @@ -54,7 +54,7 @@ class SyncForgeController < ApplicationController u_mail = u[:user_params][:mail] end new_user = User.new(u[:user_params].merge(mail: u_mail)) - + username = new_user.login password = "12345678" ActiveRecord::Base.transaction do @@ -76,9 +76,9 @@ class SyncForgeController < ApplicationController end end end - normal_status(1, "completed_sync") + # normal_status(1, "completed_sync") rescue Exception => e - normal_status(-1, e.message) + SyncLog.sync_log("=================sync_user_failed====#{e}") end private