|
|
@@ -81,7 +81,7 @@ class RechargeController extends BaseController
|
|
|
$response = $laResource->cashClose($closeParams);
|
|
|
if (!isset($response['code']) || $response['code'] != '000000') {
|
|
|
$msg = $response['msg'] ?? '';
|
|
|
- noticeUtil::push('单号:' . $closeOrderSn . ',关单没有成功(收银台-支付宝),' . $msg, '15280215347');
|
|
|
+ noticeUtil::push('重点注意,充值换单,收银台的单号:' . $closeOrderSn . ',关单没有成功,' . $msg, '15280215347');
|
|
|
util::fail('出错了哦,请重新操作呢');
|
|
|
}
|
|
|
}
|
|
|
@@ -294,38 +294,7 @@ class RechargeController extends BaseController
|
|
|
util::success($new);
|
|
|
|
|
|
} elseif ($payWay == 1) {
|
|
|
-
|
|
|
util::fail('开发中');
|
|
|
-
|
|
|
-// $merchantPrivateKeyPath = Yii::getAlias("@vendor/lakala") . '/production/api_private_key.pem';
|
|
|
-// $lklCertificatePath = Yii::getAlias("@vendor/lakala") . '/production/lkl-apigw-v1.cer';
|
|
|
-// $params = [
|
|
|
-// 'appid' => 'OP00002119',
|
|
|
-// 'serial_no' => '018b08cfddbd',
|
|
|
-// 'merchant_no' => $ghsShop->lklSjNo,
|
|
|
-// 'term_no' => $ghsShop->lklB2BTermNo,
|
|
|
-// 'merchantPrivateKeyPath' => $merchantPrivateKeyPath,
|
|
|
-// 'lklCertificatePath' => $lklCertificatePath,
|
|
|
-// ];
|
|
|
-// $laResource = new Lakala($params);
|
|
|
-// $notifyUrl = Yii::$app->params['hdHost'] . "/notice/cash-pay-callback";
|
|
|
-// $cashParams = [
|
|
|
-// 'orderSn' => $customOrderSn,
|
|
|
-// 'amount' => $totalFee,
|
|
|
-// 'capitalType' => $capitalType,
|
|
|
-// 'notifyUrl' => $notifyUrl,
|
|
|
-// 'subject' => $subject,
|
|
|
-// ];
|
|
|
-// $response = $laResource->cashierPay($cashParams);
|
|
|
-// if (isset($response['code']) == false || $response['code'] != '000000') {
|
|
|
-// util::fail('支付失败了');
|
|
|
-// }
|
|
|
-// $url = $response['resp_data']['counter_url'] ? $response['resp_data']['counter_url'] : '';
|
|
|
-// if (empty($url)) {
|
|
|
-// util::fail('支付失败');
|
|
|
-// }
|
|
|
-// util::success(['url' => $url]);
|
|
|
-
|
|
|
} else {
|
|
|
util::fail('暂不支持的付款方式');
|
|
|
}
|