From ef3714981577dfb230d26e483b60273620d3ca15 Mon Sep 17 00:00:00 2001 From: lqmac Date: Mon, 3 Jun 2024 23:52:03 +0800 Subject: [PATCH] 1 --- app/command/ProfitSharing.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/command/ProfitSharing.php b/app/command/ProfitSharing.php index 46e4a641..aa39a0ae 100644 --- a/app/command/ProfitSharing.php +++ b/app/command/ProfitSharing.php @@ -164,7 +164,8 @@ class ProfitSharing extends Command continue; } //var_dump($payment); - $ret = $payment->addReceiver("MERCHANT_ID", $platform_wechat_config['mchId'], "武汉市汉阳区静好电子商务商行(个体工商户)", "HEADQUARTER"); + //$ret = $payment->addReceiver("MERCHANT_ID", $platform_wechat_config['mchId'], "武汉市汉阳区静好电子商务商行(个体工商户)", "HEADQUARTER"); + $ret = $payment->addReceiver("MERCHANT_ID", $platform_wechat_config['mchId'], $platform_payment_template['name'], "HEADQUARTER"); //exit(); $transaction_id = $payment_trade->trade_no; $out_trade_no = "ps".date("YmdHis").mt_rand(1000,9999);