|
|
@@ -87,22 +87,22 @@ class ClearController extends BaseController
|
|
|
'lklCertificatePath' => $lklCertificatePath,
|
|
|
];
|
|
|
$laResource = new Lakala($params);
|
|
|
- $closeParams = [
|
|
|
- 'orderSn' => $orderSn,
|
|
|
- ];
|
|
|
- $response = $laResource->close($closeParams);
|
|
|
- if (isset($response['code']) == false || $response['code'] != 'BBS00000') {
|
|
|
- //$msg = $response['msg'] ?? '';
|
|
|
- //noticeUtil::push("\n花店结账单:" . $orderSn . "\n关单失败了\n{$msg} ", '15280215347');
|
|
|
- }
|
|
|
-
|
|
|
- //收银台关单
|
|
|
- $closeParams = ['orderSn' => $orderSn];
|
|
|
- $response = $laResource->cashClose($closeParams);
|
|
|
- if (isset($response['code']) == false || $response['code'] != '000000') {
|
|
|
- //$msg = $response['msg'] ?? '';
|
|
|
- //noticeUtil::push('单号:' . $orderSn . ',关单没有成功(收银台-支付宝),' . $msg, '15280215347');
|
|
|
- }
|
|
|
+// $closeParams = [
|
|
|
+// 'orderSn' => $orderSn,
|
|
|
+// ];
|
|
|
+// $response = $laResource->close($closeParams);
|
|
|
+// if (isset($response['code']) == false || $response['code'] != 'BBS00000') {
|
|
|
+// //$msg = $response['msg'] ?? '';
|
|
|
+// //noticeUtil::push("\n花店结账单:" . $orderSn . "\n关单失败了\n{$msg} ", '15280215347');
|
|
|
+// }
|
|
|
+//
|
|
|
+// //收银台关单
|
|
|
+// $closeParams = ['orderSn' => $orderSn];
|
|
|
+// $response = $laResource->cashClose($closeParams);
|
|
|
+// if (isset($response['code']) == false || $response['code'] != '000000') {
|
|
|
+// //$msg = $response['msg'] ?? '';
|
|
|
+// //noticeUtil::push('单号:' . $orderSn . ',关单没有成功(收银台-支付宝),' . $msg, '15280215347');
|
|
|
+// }
|
|
|
|
|
|
util::complete();
|
|
|
}
|