rock_fintech 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -1
- data/lib/rock_fintech/api/account/account_credits.rb +61 -0
- data/lib/rock_fintech/api/account/account_transaction_query.rb +70 -0
- data/lib/rock_fintech/api/account/create_account_sr_query.rb +49 -0
- data/lib/rock_fintech/api/account/gateway_query.rb +39 -0
- data/lib/rock_fintech/api/account/marketing_query.rb +47 -0
- data/lib/rock_fintech/api/api_helper.rb +1 -7
- data/lib/rock_fintech/api/batch/batch_end_credit_b.rb +1 -1
- data/lib/rock_fintech/api/batch/batch_payment_b.rb +1 -1
- data/lib/rock_fintech/api/batch/batch_repayment_b.rb +1 -1
- data/lib/rock_fintech/api/enterprise/enterprise_add.rb +47 -0
- data/lib/rock_fintech/api/platform/money_dispatch.rb +49 -0
- data/lib/rock_fintech/api/platform/money_revoke.rb +54 -0
- data/lib/rock_fintech/api/query/apply_bid_query.rb +46 -0
- data/lib/rock_fintech/api/query/batch_new_query_payment_b.rb +54 -0
- data/lib/rock_fintech/api/query/batch_new_query_repayment_b.rb +62 -0
- data/lib/rock_fintech/api/query/batch_query_payment_b.rb +68 -0
- data/lib/rock_fintech/api/query/batch_query_repayment_b.rb +70 -0
- data/lib/rock_fintech/api/query/buy_credit_query.rb +47 -0
- data/lib/rock_fintech/api/query/money_query.rb +44 -0
- data/lib/rock_fintech/api/trade/auto_bid_apply.rb +32 -22
- data/lib/rock_fintech/api/trade/debt_query.rb +50 -0
- data/lib/rock_fintech/api/trade/sign_bid_query.rb +42 -0
- data/lib/rock_fintech/api/trade/trustee_pay_p.rb +56 -0
- data/lib/rock_fintech/form/money/sign_again_p.rb +56 -0
- data/lib/rock_fintech/form/trade/buy_credit_p.rb +70 -0
- data/lib/rock_fintech/http/error_code/account.rb +20 -0
- data/lib/rock_fintech/http/error_code/enterprise.rb +12 -0
- data/lib/rock_fintech/http/error_code/form.rb +15 -0
- data/lib/rock_fintech/http/error_code/platform.rb +15 -0
- data/lib/rock_fintech/http/error_code/query.rb +36 -0
- data/lib/rock_fintech/http/error_code/trade.rb +21 -0
- data/lib/rock_fintech/version.rb +1 -1
- data/rock_fintech.gemspec +1 -0
- metadata +40 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a041aade3c64e9d65894c0a0ee35f1dd925a867d
|
4
|
+
data.tar.gz: badb8eafaeda80077816f5e864d1ed3046ae8341
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a29cb3257ea4bccc87fa21c84faec03f39dd762eeab9170efca80c3d3cf2cc566a46d842db65bbadfcfc5b15cbb3693443280d852fb74f2215992a8073968069
|
7
|
+
data.tar.gz: d3cd2b8eb8c7d92fb56dfcdc48b6f38dafab773b14bd6964d86c2536f270edd619e6435dca83ee0289e5dcce2edbb6b542e75d59e2d8d8b0deef90fb20e39276
|
data/Gemfile.lock
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rock_fintech (0.
|
4
|
+
rock_fintech (0.3.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
+
awesome_print (1.8.0)
|
9
10
|
byebug (9.1.0)
|
10
11
|
concurrent-ruby (1.0.5)
|
11
12
|
diff-lcs (1.3)
|
@@ -50,6 +51,7 @@ PLATFORMS
|
|
50
51
|
ruby
|
51
52
|
|
52
53
|
DEPENDENCIES
|
54
|
+
awesome_print
|
53
55
|
bundler (~> 1.16)
|
54
56
|
byebug (~> 9.1)
|
55
57
|
faker (~> 1.8, >= 1.8.4)
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
module RockFintech
|
3
|
+
module Api
|
4
|
+
module Account
|
5
|
+
module AccountCredits
|
6
|
+
# 查询投资人电子账户名下的投资明细(包括投标中的标的)
|
7
|
+
#
|
8
|
+
# @param card_no [String] 电子账号,必填,19
|
9
|
+
# @param asset_no [String] 标的编号,有条件必填,为空时查询所有的产品;不为空时按输入的产品发行方查询,6
|
10
|
+
# @param state [Integer] 查询的记录状态, 有条件必填,0:查询所有状态;1:投标中 2:放款中 3:计息中 4:本息已返回还,1
|
11
|
+
# @param page_flag [Integer] 翻页标志,有条件必填,首次查询上送空 ;翻页查询上送1,1
|
12
|
+
# @param buy_date [Date] 投标日期,有条件必填,翻页控制使用;首次查询上送空;翻页查询时上送上页返回的最后一条记录的投标日期,8
|
13
|
+
# @param out_serial_no [String] 交易流水号,有条件必填 ,翻页控制使用;首次查询上送空;翻页查询时上送上页返回的最后一条记录的申请流水号,32
|
14
|
+
# @param asset_page [String] 标的编号,有条件必填 ,翻页控制使用;首次查询上送空;翻页查询时上送上页返回的最后一条记录的标的编号,6
|
15
|
+
# @param devise [String] 交易终端,默认手机 000001手机APP 000002网页 000003微信 000004柜面
|
16
|
+
# @param remark [String] 备注,默认为空
|
17
|
+
#
|
18
|
+
# @return [Hash] 结果集
|
19
|
+
# * :result [String] "S"/"F"/"P"
|
20
|
+
# * :request_params [Hash] 请求参数
|
21
|
+
# * :response [Object] 请求返回对象
|
22
|
+
# * :code [String] 结果代码
|
23
|
+
# * :msg [String] 结果信息
|
24
|
+
# * :data: 具体业务返回信息
|
25
|
+
# * :card_no [String] 电子账号,19
|
26
|
+
# * :name [String] 持卡人姓名,60
|
27
|
+
# * :count [Integer] 本次返回交易条数,2
|
28
|
+
# * :page_flag [Integer] 翻页标志,0:查询完毕;1:需继续翻页查询,1
|
29
|
+
# * :asset_no [Integer] 标的编号,6
|
30
|
+
# * :buy_date [Date] 投标日期,8
|
31
|
+
# * :out_serial_no [Integer] 交易流水号,32
|
32
|
+
# * :amount [Decimal] 投标金额,13
|
33
|
+
# * :interest_rate [Integer] 预期年化收益率,
|
34
|
+
# * :forcast_income [Decimal] 预期收益,8
|
35
|
+
# * :income_total [Decimal] 预期本息收益,13
|
36
|
+
# * :state [Integer] 状态,1:投标中;2:计息中;3:到期待返还;4:本息已返还,1
|
37
|
+
# * :bonus_amount [Decimal] 抵扣红包,9
|
38
|
+
#
|
39
|
+
def account_credits(card_no, asset_no, state, page_flag, buy_date, out_serial_no, asset_page, devise="000001", remark='')
|
40
|
+
service = "account_credits"
|
41
|
+
|
42
|
+
params = {
|
43
|
+
card_no: card_no,
|
44
|
+
asset_no: asset_no,
|
45
|
+
state: state,
|
46
|
+
page_flag: page_flag,
|
47
|
+
buy_date: buy_date,
|
48
|
+
out_serial_no: out_serial_no,
|
49
|
+
asset_page: asset_page,
|
50
|
+
client: devise,
|
51
|
+
custom: remark,
|
52
|
+
}
|
53
|
+
|
54
|
+
res = operate_post(:operate, service, params, Http::ErrorCode.account_credits, ["RD000000"] )
|
55
|
+
|
56
|
+
res
|
57
|
+
end
|
58
|
+
end #AccountCredits
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
module RockFintech
|
3
|
+
module Api
|
4
|
+
module Account
|
5
|
+
module AccountTransactionQuery
|
6
|
+
# 营账户业务流水查询
|
7
|
+
#
|
8
|
+
# @param card_no [String] 卡号,必填,电子账户,19
|
9
|
+
# @param record_flag [String] 冲正标志位,条件选填,默认所有,Y是 N否
|
10
|
+
# @param transact_type [String] 交易类型,条件选填,默认所有流水,B:金融流水,N:非金融流水
|
11
|
+
# @param begin_date [Time] 起始记账日期,必填,格式:yyyyMMdd
|
12
|
+
# @param end_date [Time] 结束记账日期,必填,格式:yyyyMMdd
|
13
|
+
# @param type [Integer] 流水类型,条件选填,默认所有交易,0:所有交易;1:转入;2:转出
|
14
|
+
# @param order_by [Integer] 排序,条件选填,默认正序 1:正序 2:倒序
|
15
|
+
# @param current_result [Integer] 起始记录数,必填,大于等于1
|
16
|
+
# @param total_result [Integer] 查询记录条数,必填,不得超过99
|
17
|
+
# @param devise [ String ] 交易终端,默认手机 000001手机APP 000002网页 000003微信 000004柜面
|
18
|
+
# @param remark [ String ] 备注,默认为空
|
19
|
+
#
|
20
|
+
# @return [ Hash ] 结果集
|
21
|
+
# * :result [String] "S"/"F"/"P"
|
22
|
+
# * :request_params [Hash] 请求参数
|
23
|
+
# * :response [Object] 请求返回对象
|
24
|
+
# * :code [String] 结果代码
|
25
|
+
# * :msg [String] 结果信息
|
26
|
+
# * :data: 具体业务返回信息
|
27
|
+
# * :transact_date [Date] 交易日期,yyyyMMdd
|
28
|
+
# * :transact_time [Date] 交易时间,HHmmss
|
29
|
+
# * :transact_type [String] 交易类型,同请求
|
30
|
+
# * :accounting_date [Date] 记账日期,格式:yyyyMMddHHmmss
|
31
|
+
# * :description [String] 交易描述
|
32
|
+
# * :record_flag [String] 冲正标识位,N未冲正,Y冲正
|
33
|
+
# * :card_no [String] 账号,19
|
34
|
+
# * :remark [String] 交易具体描述
|
35
|
+
# * :sign [String] 借贷方标识,C借 D贷
|
36
|
+
# * :transact_amount [Decimal] 金额
|
37
|
+
# * :account_balance [Decimal] 记账后余额
|
38
|
+
# * :interest_date [Date] 起息日,格式:yyyyMMddHHmmss
|
39
|
+
# * :opposit_card_no [String] 对手交易账号
|
40
|
+
# * :total_result [Integer] 查询记录条数,同请求
|
41
|
+
# * :current_result [Integer] 起始记录数,同请求
|
42
|
+
# * :out_num [Integer] 当前输出笔数
|
43
|
+
# * :end_flag [Integer] 结束标识位,1:结束;0:未结束
|
44
|
+
# * :total_result [Integer] 查询记录条数,同请求
|
45
|
+
#
|
46
|
+
def account_transaction_query(card_no, record_flag, transact_type, begin_date, end_date, type, order_by, current_result, total_result, devise="000001", remark='')
|
47
|
+
service = "account_transaction_query"
|
48
|
+
|
49
|
+
params = {
|
50
|
+
card_no: card_no,
|
51
|
+
record_flag: record_flag,
|
52
|
+
transact_type: transact_type,
|
53
|
+
begin_date: begin_date,
|
54
|
+
end_date: end_date,
|
55
|
+
type: type,
|
56
|
+
order_by: order_by,
|
57
|
+
current_result: current_result,
|
58
|
+
total_result: total_result,
|
59
|
+
client: devise,
|
60
|
+
custom: remark,
|
61
|
+
}
|
62
|
+
|
63
|
+
res = operate_post(:operate, service, params, Http::ErrorCode.account_transaction_query, ["RD000000"] )
|
64
|
+
|
65
|
+
res
|
66
|
+
end
|
67
|
+
end #AccountTransactionQuery
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
module RockFintech
|
3
|
+
module Api
|
4
|
+
module Account
|
5
|
+
module CreateAccountSrQuery
|
6
|
+
# 开户结果查询接口
|
7
|
+
#
|
8
|
+
# @param order_id [String] 订单号
|
9
|
+
# @param devise [ String ] 交易终端,默认手机 000001手机APP 000002网页 000003微信 000004柜面
|
10
|
+
# @param remark [ String ] 备注,默认为空
|
11
|
+
#
|
12
|
+
# @return [ Hash ] 结果集
|
13
|
+
# * :result [String] "S"/"F"/"P"
|
14
|
+
# * :request_params [Hash] 请求参数
|
15
|
+
# * :response [Object] 请求返回对象
|
16
|
+
# * :code [String] 结果代码
|
17
|
+
# * :msg [String] 结果信息
|
18
|
+
# * :data: 具体业务返回信息
|
19
|
+
# * :name [String] 持卡人姓名
|
20
|
+
# * :card_no [String] 电子账号
|
21
|
+
# * :cert_no [String] 证件号
|
22
|
+
# * :order_id [String] 订单号
|
23
|
+
# * :cert_type [Integer] 证件类型
|
24
|
+
# * :customer_no [String] 客户号
|
25
|
+
# * :serial_no [String] 三方绑定编号
|
26
|
+
# * :bank_card_no [String] 绑定银行卡号
|
27
|
+
# * :mobile [String] 手机号
|
28
|
+
# * :bank_name [String] 银行名称
|
29
|
+
# * :status [Integer] 订单状态 1 下单(等待网关访问后提交) 2 处理中(客户已提交,正在处理)3 订单关闭 4 超时关闭(超时时间:5分钟)
|
30
|
+
# * :rsp_code [String] 00 处理成功 01 查询渠道登记簿,未找到该渠道记录 02 查询机构登记簿,未找到该机构记录 03 渠道未关联支付通道 04 支付通道登记簿无此记录 05 该渠道不可操作此类账户 06 开户数量超限 07 交易密码不一致 08 平台预留手机号错误 09 绑卡数量超出限制 10 四要素鉴权失败
|
31
|
+
# * :account_type [String] 账户类型,200201:普通电子账户
|
32
|
+
#
|
33
|
+
def create_account_sr_query(order_id, devise="000001", remark='')
|
34
|
+
service = "create_account_sr_query"
|
35
|
+
|
36
|
+
params = {
|
37
|
+
order_id: order_id,
|
38
|
+
client: devise,
|
39
|
+
custom: remark,
|
40
|
+
}
|
41
|
+
|
42
|
+
res = operate_post(:operate, service, params, Http::ErrorCode.create_account_sr_query, ["RD000000"] )
|
43
|
+
|
44
|
+
res
|
45
|
+
end
|
46
|
+
end #CreateAccountSrQuery
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
module RockFintech
|
3
|
+
module Api
|
4
|
+
module Account
|
5
|
+
module GatewayQuery
|
6
|
+
# 网关自定义下单查询(查询内容:投标,签约,债转,受托支付申请)
|
7
|
+
#
|
8
|
+
# @param order_no [String] 订单号
|
9
|
+
# @param devise [String] 交易终端,默认手机 000001手机APP 000002网页 000003微信 000004柜面
|
10
|
+
# @param remark [String] 备注,默认为空
|
11
|
+
#
|
12
|
+
# @return [Hash] 结果集
|
13
|
+
# * :result [String] "S"/"F"/"P"
|
14
|
+
# * :request_params [Hash] 请求参数
|
15
|
+
# * :response [Object] 请求返回对象
|
16
|
+
# * :code [String] 结果代码
|
17
|
+
# * :msg [String] 结果信息
|
18
|
+
# * :data: 具体业务返回信息
|
19
|
+
# * :card_no [String] 电子账号
|
20
|
+
# * :order_id [String] 订单号
|
21
|
+
# * :state [Integer] 状态,1 已下单;2 超时关闭;3 完成
|
22
|
+
#
|
23
|
+
def gateway_query(order_no, devise="000001", remark='')
|
24
|
+
service = "gateway_query"
|
25
|
+
|
26
|
+
params = {
|
27
|
+
order_no: order_no,
|
28
|
+
client: devise,
|
29
|
+
custom: remark,
|
30
|
+
}
|
31
|
+
|
32
|
+
res = operate_post(:operate, service, params, Http::ErrorCode.gateway_query, ["RD000000"] )
|
33
|
+
|
34
|
+
res
|
35
|
+
end
|
36
|
+
end #GatewayQuery
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
module RockFintech
|
3
|
+
module Api
|
4
|
+
module Account
|
5
|
+
module MarketingQuery
|
6
|
+
# 营销户信息查询
|
7
|
+
#
|
8
|
+
# @param card_no [ String ] 电子账号
|
9
|
+
# @param type [ Integer ] 营销户类型 1:服务费账户,2:红包户,3:其他
|
10
|
+
# @param devise [ String ] 交易终端,默认手机 000001手机APP 000002网页 000003微信 000004柜面
|
11
|
+
# @param remark [ String ] 备注,默认为空
|
12
|
+
#
|
13
|
+
# @return [ Hash ] 结果集
|
14
|
+
# * :result [String] "S"/"F"/"P"
|
15
|
+
# * :request_params [Hash] 请求参数
|
16
|
+
# * :response [Object] 请求返回对象
|
17
|
+
# * :code [String] 结果代码
|
18
|
+
# * :msg [String] 结果信息
|
19
|
+
# * :data: 具体业务返回信息
|
20
|
+
# * :card_no [String] 电子账号
|
21
|
+
# * :customer_no [String] 客户号
|
22
|
+
# * :name [String] 客户姓名
|
23
|
+
# * :cert_no [String] 客户证件
|
24
|
+
# * :date [Date] 开户日期
|
25
|
+
# * :balance [Decimal] 可用余额
|
26
|
+
# * :frozen_money [Decimal] 冻结金额
|
27
|
+
# * :state [Integer] 账户状态, 0 正常;1 冻结;2 注销
|
28
|
+
# * :type [Integer] 营销户类型,1:服务费账户;2:红包账户
|
29
|
+
#
|
30
|
+
def marketing_query(card_no, type, devise="000001", remark='')
|
31
|
+
service = "marketing_query"
|
32
|
+
|
33
|
+
params = {
|
34
|
+
card_no: card_no,
|
35
|
+
type: type,
|
36
|
+
client: devise,
|
37
|
+
custom: remark,
|
38
|
+
}
|
39
|
+
|
40
|
+
res = operate_post(:operate, service, params, Http::ErrorCode.marketing_query, ["RD000000"] )
|
41
|
+
|
42
|
+
res
|
43
|
+
end
|
44
|
+
end #GatewayQuery
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -18,7 +18,7 @@ module RockFintech
|
|
18
18
|
response = request.post
|
19
19
|
|
20
20
|
res = RockFintech::Utils.api_result(params, response)
|
21
|
-
|
21
|
+
|
22
22
|
if :operate == request_type
|
23
23
|
# 向服务器发送操作,超时类的都应该当 pending 处理
|
24
24
|
if response.http_pending?
|
@@ -42,12 +42,6 @@ module RockFintech
|
|
42
42
|
return res
|
43
43
|
end
|
44
44
|
|
45
|
-
# 其余 api 错误不知道
|
46
|
-
unless response.data[:code].nil?
|
47
|
-
RockFintech.logger.info "#{request.identifier} 最终返回的数据为:\n#{res}\n"
|
48
|
-
return res
|
49
|
-
end
|
50
|
-
|
51
45
|
# 确定的成功返回码
|
52
46
|
if success_codes.include?(response.data[:code])
|
53
47
|
res[:result] = 'S'
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
module RockFintech
|
3
|
+
module Api
|
4
|
+
module Enterprise
|
5
|
+
module EnterpriseAdd
|
6
|
+
|
7
|
+
# 线下企业账户信息入库
|
8
|
+
#
|
9
|
+
# @return [ Hash ] 结果集
|
10
|
+
# * :result [String] "S"/"F"/"P"
|
11
|
+
# * :request_params [Hash] 请求参数
|
12
|
+
# * :response [Object] 请求返回对象
|
13
|
+
# * :code [String] 结果代码
|
14
|
+
# * :msg [String] 结果信息
|
15
|
+
# * :data: 具体业务返回信息
|
16
|
+
# * :card_no [String] 电子账号
|
17
|
+
#
|
18
|
+
def enterprise_add(cert_no, name, mobile,
|
19
|
+
bind_card, card_no, customer_no,
|
20
|
+
serial_no, role_type,
|
21
|
+
devise='000001', remark='')
|
22
|
+
|
23
|
+
|
24
|
+
service = 'enterprise_add'
|
25
|
+
|
26
|
+
params = {
|
27
|
+
cert_no: cert_no,
|
28
|
+
name: name,
|
29
|
+
mobile: mobile,
|
30
|
+
bind_card: bind_card,
|
31
|
+
card_no: card_no,
|
32
|
+
customer_no: customer_no,
|
33
|
+
serial_no: serial_no,
|
34
|
+
role_type: role_type,
|
35
|
+
client: devise,
|
36
|
+
custom: remark,
|
37
|
+
}
|
38
|
+
|
39
|
+
res = operate_post(:operate, service, params, Http::ErrorCode.enterprise_add, ['RD000000'])
|
40
|
+
|
41
|
+
res
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
module RockFintech
|
3
|
+
module Api
|
4
|
+
module Platform
|
5
|
+
module MoneyDispatch
|
6
|
+
# 红包发放
|
7
|
+
#
|
8
|
+
# @param card_no 转出电子账户 ,必填,红包账号,19
|
9
|
+
# @param card_no_in 转入电子账户,必填,20
|
10
|
+
# @param currency 币种 ,必填,156,3
|
11
|
+
# @param amount 金额 ,必填,精确到分(元),12
|
12
|
+
# @param description_flag 是否使用交易描述 ,必填,1使用,0不使用,1
|
13
|
+
# @param description 交易描述 , 条件选填,该字段禁止使用”/“,40
|
14
|
+
#
|
15
|
+
# @return [ Hash ] 结果集
|
16
|
+
# * :result [String] "S"/"F"/"P"
|
17
|
+
# * :request_params [Hash] 请求参数
|
18
|
+
# * :response [Object] 请求返回对象
|
19
|
+
# * :code [String] 结果代码
|
20
|
+
# * :msg [String] 结果信息
|
21
|
+
# * :data: 具体业务返回信息
|
22
|
+
# * :card_no [String] 转出账户
|
23
|
+
# * :serial_no [String] 红包发放流水号
|
24
|
+
# * :card_no_in [String] 转入账户
|
25
|
+
# * :currency [Integer] 币种
|
26
|
+
# * :amount [Decimal] 金额
|
27
|
+
#
|
28
|
+
def money_dispatch(card_no, card_no_in, currency, amount, description_flag, description, devise="000001", remark='')
|
29
|
+
service = "money_dispatch"
|
30
|
+
|
31
|
+
params = {
|
32
|
+
card_no: card_no,
|
33
|
+
card_no_in: card_no_in,
|
34
|
+
currency: currency,
|
35
|
+
amount: amount,
|
36
|
+
description_flag: description_flag,
|
37
|
+
description: description,
|
38
|
+
client: devise,
|
39
|
+
custom: remark,
|
40
|
+
}
|
41
|
+
|
42
|
+
res = operate_post(:operate, service, params, Http::ErrorCode.money_dispatch, ["RD000000"] )
|
43
|
+
|
44
|
+
res
|
45
|
+
end
|
46
|
+
end #MoneyDispatch
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|