将双引号修改为单引号

This commit is contained in:
nigel007 2019-07-23 14:32:54 +08:00
parent 60547d9dc3
commit 4aa5510341
1 changed files with 2 additions and 2 deletions

View File

@ -333,11 +333,11 @@ class PullRequestsController < ApplicationController
end
pushTXInfo["shas"] = shas # 后续修改为shaList
pushTXInfoJson = pushTXInfo.to_json.to_s
pushTXInfoJson = pushTXInfo.to_json
# 发送交易
Rails.logger.info("before executing chain_trustie command...")
Rails.logger.info(pushTXInfoJson)
cmd = "chain_trustie pushPRTX " + pushTXInfoJson
cmd = 'chain_trustie pushPRTX ' + pushTXInfoJson
Rails.logger.info(cmd)
# result = system # 执行失败了