eee
This commit is contained in:
@@ -11,12 +11,13 @@ class TransferBatches extends SmallProgram
|
||||
|
||||
|
||||
/**
|
||||
* @param string $transfer_scene_id
|
||||
* @param array $transfer_scene_report_infos
|
||||
* @param TransferDetail $detail
|
||||
* @return array
|
||||
* @throws
|
||||
*/
|
||||
#[ArrayShape([])]
|
||||
public function transfer(TransferDetail $detail): array
|
||||
public function transfer(string $transfer_scene_id ,array $transfer_scene_report_infos ,TransferDetail $detail): array
|
||||
{
|
||||
$payConfig = $this->getPayConfig();
|
||||
$body = [];
|
||||
@@ -31,6 +32,8 @@ class TransferBatches extends SmallProgram
|
||||
$body["batch_remark"] = $payConfig->getBody();
|
||||
$body["total_amount"] = $detail->transfer_amount;
|
||||
$body["total_num"] = 1;
|
||||
$body["transfer_scene_id"] = $transfer_scene_id;
|
||||
$body["transfer_scene_report_infos"] = $transfer_scene_report_infos;
|
||||
$body["transfer_detail_list"] = [$detail->toArray()];
|
||||
|
||||
$sign = $this->signature('POST' ,'/v3/transfer/batches' ,$json = json_encode($body ,JSON_UNESCAPED_UNICODE));
|
||||
|
||||
Reference in New Issue
Block a user