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);