add logger
This commit is contained in:
parent
5855087f2d
commit
0a55604178
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue