|
@@ -274,13 +274,13 @@ class AliPayWithdrawGateway(WithdrawGateway, AlipayMixin):
|
|
|
else:
|
|
|
raise AliPayGatewayException(errCode = result['sub_code'], errMsg = result['sub_msg'], client = self)
|
|
|
|
|
|
- def get_transfer_result_via_bank(self, order_no):
|
|
|
+ def get_transfer_result_via_bank(self, order_no, product_code = 'TRANS_BANKCARD_NO_PWD'):
|
|
|
|
|
|
"""
|
|
|
查询银行卡提现的返回结果
|
|
|
:return:
|
|
|
"""
|
|
|
- result = self.client.api_alipay_fund_trans_common_query(out_biz_no = order_no)
|
|
|
+ result = self.client.api_alipay_fund_trans_common_query(out_biz_no = order_no, product_code = product_code)
|
|
|
if result['code'] == u'10000':
|
|
|
return AlipayWithdrawQueryResult(result)
|
|
|
elif result['code'] == u'40004':
|
|
@@ -329,7 +329,7 @@ class AliPayWithdrawGateway(WithdrawGateway, AlipayMixin):
|
|
|
查询现金提现的返回结果
|
|
|
:return:
|
|
|
"""
|
|
|
- return self.get_transfer_result_via_bank(order_no = order_no)
|
|
|
+ return self.get_transfer_result_via_bank(order_no = order_no, product_code = 'TRANS_ACCOUNT_NO_PWD')
|
|
|
|
|
|
|
|
|
class AliPayISVGateway(WithdrawGateway, AlipayMixin):
|