lib/reapal/api/money/withdraw_query.rb in reapal-0.9.9 vs lib/reapal/api/money/withdraw_query.rb in reapal-0.9.10
- old
+ new
@@ -32,10 +32,10 @@
queryTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
}
res = operate_post(:query, service, params, post_path, Http::ErrorCode.withdraw_query, ['0002'])
- if 'S' == res[:result] && '0003' == res[:data][:resultCode]
+ if 'P' == res[:result] && '0003' == res[:data][:resultCode]
res[:result] = 'F'
end
res
end