lib/rock_fintech/http/request.rb in rock_fintech-0.9.0 vs lib/rock_fintech/http/request.rb in rock_fintech-0.10.0
- old
+ new
@@ -27,9 +27,10 @@
uuid: Utils.get_uuid,
sign_type: SIGN_TYPE,
encode: ENCODE,
version: @version,
}.merge(@params)
+
sign_str = Sign.sign(sign_body, @config)
# 3. merge sign
post_body = sign_body.merge({sign: sign_str})