Module: Reapal::Api::User::SetHistoryUserType
- Defined in:
- lib/reapal/api/user/set_history_user_type.rb
Instance Method Summary collapse
Instance Method Details
#set_history_user_type(flow_id, contracts, user_type) ⇒ Hash
5.1 设置历史用户角色
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/reapal/api/user/set_history_user_type.rb', line 23 def set_history_user_type(flow_id, contracts, user_type) service = 'reapal.trust.setHistoryUserType' post_path = '/agreement/setHistoryUserType.htm' params = { orderNo: flow_id, contracts: contracts, userType: user_type, queryTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } res = operate_post(:operate, service, params, post_path, Http::ErrorCode.common, ['0000']) Reapal.logger.info res res end |