|
@@ -28,12 +28,12 @@ class Multi
|
|
//整理内容信息
|
|
//整理内容信息
|
|
$content = [
|
|
$content = [
|
|
'merNo' => $merchant['merno'],
|
|
'merNo' => $merchant['merno'],
|
|
- 'merOrderNo' => $order_num,
|
|
|
|
|
|
+ //'merOrderNo' => $order_num,
|
|
'payAmt' => $cash,
|
|
'payAmt' => $cash,
|
|
'ps' => $merchant['name'] . '划付',
|
|
'ps' => $merchant['name'] . '划付',
|
|
];
|
|
];
|
|
Dever::log($content, 'yspay_huafu');
|
|
Dever::log($content, 'yspay_huafu');
|
|
- $result = $this->curl('202001', $content);
|
|
|
|
|
|
+ $result = $this->curl('202002', $content);
|
|
if ($result == 'ok') {
|
|
if ($result == 'ok') {
|
|
$data['status'] = 1;
|
|
$data['status'] = 1;
|
|
} else {
|
|
} else {
|
|
@@ -69,13 +69,13 @@ class Multi
|
|
//整理内容信息
|
|
//整理内容信息
|
|
$content = [
|
|
$content = [
|
|
'merNo' => $this->config['cash_merno'],
|
|
'merNo' => $this->config['cash_merno'],
|
|
- 'merOrderNo' => $order_num,
|
|
|
|
|
|
+ //'merOrderNo' => $order_num,
|
|
'payAmt' => $cash,
|
|
'payAmt' => $cash,
|
|
'cardNo' => hash("sha256", $this->config['cash_card']),
|
|
'cardNo' => hash("sha256", $this->config['cash_card']),
|
|
'ps' => $merchant['name'] . '分账',
|
|
'ps' => $merchant['name'] . '分账',
|
|
];
|
|
];
|
|
Dever::log($content, 'yspay_fenzhang');
|
|
Dever::log($content, 'yspay_fenzhang');
|
|
- $result = $this->curl('202003', $content);
|
|
|
|
|
|
+ $result = $this->curl('202004', $content);
|
|
if ($result == 'ok') {
|
|
if ($result == 'ok') {
|
|
$data['status'] = 1;
|
|
$data['status'] = 1;
|
|
} else {
|
|
} else {
|