From 0a556041788c744e2ee48deda8242f5a39477841 Mon Sep 17 00:00:00 2001 From: nigel007 <609441862@qq.com> Date: Thu, 25 Jul 2019 15:42:48 +0800 Subject: [PATCH] add logger --- app/services/blockchain_project_clients_service.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/services/blockchain_project_clients_service.rb b/app/services/blockchain_project_clients_service.rb index 1afc4c97a..d814d862d 100644 --- a/app/services/blockchain_project_clients_service.rb +++ b/app/services/blockchain_project_clients_service.rb @@ -7,10 +7,13 @@ class BlockchainProjectClientsService bpc.project_id = project.id bpc.user_id = user.id bpc.node_id = params[:node_id] + Rails.logger.info("!!!!!!node_id是:" + params[:node_id]) if bpc.save + Rails.logger.info("save成功") status = 0 return status, bpc end + Rails.logger.info("blockchain project clients service中status是:" + status.to_s) return status, nil end