|
|
@ -24,6 +24,8 @@ class Client extends AppClient |
|
|
|
$contentBuilder->setOutBizNo($payload['out_biz_no']); |
|
|
|
$contentBuilder->setOutBizNo($payload['out_biz_no']); |
|
|
|
$contentBuilder->setTransAmount($payload['trans_amount']); |
|
|
|
$contentBuilder->setTransAmount($payload['trans_amount']); |
|
|
|
$contentBuilder->setIdentity($payload['identity']); |
|
|
|
$contentBuilder->setIdentity($payload['identity']); |
|
|
|
|
|
|
|
$productCode = $payload['product_code'] ?? 'TRANS_ACCOUNT_NO_PWD'; |
|
|
|
|
|
|
|
$contentBuilder->setProductCode($productCode); |
|
|
|
if (isset($payload['identity_type'])) { |
|
|
|
if (isset($payload['identity_type'])) { |
|
|
|
$contentBuilder->setIdentity($payload['identity_type']); |
|
|
|
$contentBuilder->setIdentity($payload['identity_type']); |
|
|
|
} |
|
|
|
} |
|
|
@ -33,9 +35,8 @@ class Client extends AppClient |
|
|
|
if (isset($payload['remark'])) { |
|
|
|
if (isset($payload['remark'])) { |
|
|
|
$contentBuilder->setRemark($payload['remark']); |
|
|
|
$contentBuilder->setRemark($payload['remark']); |
|
|
|
} |
|
|
|
} |
|
|
|
if (isset($payload['biz_scene'])) { |
|
|
|
$bizScene = $payload['biz_scene'] ?? 'DIRECT_TRANSFER'; |
|
|
|
$contentBuilder->setBizScene($payload['biz_scene']); |
|
|
|
$contentBuilder->setBizScene($bizScene); |
|
|
|
} |
|
|
|
|
|
|
|
if (isset($payload['order_title'])) { |
|
|
|
if (isset($payload['order_title'])) { |
|
|
|
$contentBuilder->setOrderTitle($payload['order_title']); |
|
|
|
$contentBuilder->setOrderTitle($payload['order_title']); |
|
|
|
} |
|
|
|
} |
|
|
|