|
|
@ -70,6 +70,7 @@ module Educoder
|
|
|
|
response = http.start { |http| http.request(request) }
|
|
|
|
response = http.start { |http| http.request(request) }
|
|
|
|
ActiveSupport::JSON.decode(response.body)
|
|
|
|
ActiveSupport::JSON.decode(response.body)
|
|
|
|
rescue =>err
|
|
|
|
rescue =>err
|
|
|
|
|
|
|
|
Rails.logger.error("#############sendYunpian_error: #{err.message}")
|
|
|
|
return nil
|
|
|
|
return nil
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|