Commit 7c6e7457 authored by wanjilong's avatar wanjilong

Merge branch 'master' of https://git.yidian-inc.com:8021/bp/pay

parents eb0919c1 c7421358
......@@ -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