Commit c7421358 authored by 万继龙's avatar 万继龙

Merge branch 'feature_wanjl_0903' into 'master'

add: metadata 增加pingxx_id

See merge request bp/pay!70
parents 8d17a557 a310948e
......@@ -64,6 +64,7 @@ class PayService
$metadata = [
'app_id'=>'merchant-c',
'pingxx_id'=>PingxxService::getInstance()->getAppId(),
'environ'=>Application::app()->environ(),
'order_id'=>$order_id,
'goods'=>[],
......
......@@ -33,6 +33,9 @@ class PingxxService
return self::$instance;
}
public function getAppId() {
return Pingpp::getAppId();
}
/**
* @param $order_item_id
......
......@@ -64,6 +64,7 @@ class RefundService
'charge_amount'=>$data['refund_order']['refund_amount'],
'metadata' => [
'app_id'=>'merchant-c',
'pingxx_id'=>PingxxService::getInstance()->getAppId(),
'environ'=>Application::app()->environ(),
'refund_order_id'=>$data['refund_order']['refund_order_id'],
'order_item_id'=>$data['order_item_id'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment