lib/reapal/api/user/onekey_com_contract.rb in reapal-0.3.0 vs lib/reapal/api/user/onekey_com_contract.rb in reapal-0.9.0
- old
+ new
@@ -3,11 +3,11 @@
module Reapal
module Api
module User
module OnekeyComContract
- # 1. 企业一键签约(API)
+ # 1.4 企业一键签约(API)
#
# @param flow_id [ String ] 订单号
# @param corp_name [ String ] 法人代表姓名
# @param identity_id [ String ] 法人身份证号
# @param com_name [ String ] 企业名称
@@ -40,10 +40,10 @@
# * :email [String] 企业邮箱
# * :remark [String] 备注
#
def onekey_com_contract(flow_id, corp_name, identity_id, com_name, com_license,
lic_start_date, lic_end_date, phone, return_url, notify_url,
- email='', busway='01', remark='')
+ email, busway='01', remark='')
service = 'reapal.trust.comContractAPI'
post_path = '/reagw/agreement/agree.htm'
params = {
orderNo: flow_id,