|
@@ -69,7 +69,7 @@ class Yeepay extends Controller
|
|
|
}
|
|
|
|
|
|
//申请分账
|
|
|
- public function subAccount($order_no,$uniqueOrderNo,$amount,$amount2,$ledgerNo){
|
|
|
+ public function subAccount($order_no,$uniqueOrderNo,$amount,$ledgerNo){
|
|
|
require_once env('root_path').'application/common/library/lib/YopRequest.php';
|
|
|
require_once env('root_path').'application/common/library/lib/YopClient3.php';
|
|
|
require_once env('root_path').'application/common/library/lib/YopRsaClient.php';
|
|
@@ -84,12 +84,6 @@ class Yeepay extends Controller
|
|
|
$divideDetail = [
|
|
|
[
|
|
|
"amount"=> $amount,
|
|
|
- "ledgerNo"=> $this->merchantNo,
|
|
|
- "ledgerType"=> "MERCHANT2MERCHANT",
|
|
|
- "divideDetailDesc"=> "供应商结算"
|
|
|
- ],
|
|
|
- [
|
|
|
- "amount"=> $amount2,
|
|
|
"ledgerNo"=> $ledgerNo,
|
|
|
"ledgerNoFrom"=>$this->merchantNo,
|
|
|
"ledgerType"=> "MERCHANT2MEMBER"
|