|
@@ -996,11 +996,11 @@ class WholeController extends Curd
|
|
}
|
|
}
|
|
// 不组合或者组合后需要付款码的金额>0
|
|
// 不组合或者组合后需要付款码的金额>0
|
|
if($params['pay_constitute'] == 'N' || ($params['pay_constitute'] == 'Y' && $qrcodePayAmount > 0)){
|
|
if($params['pay_constitute'] == 'N' || ($params['pay_constitute'] == 'Y' && $qrcodePayAmount > 0)){
|
|
- $result = OrderService::qrcodePay($params);
|
|
|
|
- // $result = [
|
|
|
|
- // 'return_code'=>'SUCCESS',
|
|
|
|
- // 'result_code' => 'SUCCESS'
|
|
|
|
- // ];
|
|
|
|
|
|
+ // $result = OrderService::qrcodePay($params);
|
|
|
|
+ $result = [
|
|
|
|
+ 'return_code'=>'SUCCESS',
|
|
|
|
+ 'result_code' => 'SUCCESS'
|
|
|
|
+ ];
|
|
$result = json_encode($result);
|
|
$result = json_encode($result);
|
|
$params['pay_json_response'] = $result;
|
|
$params['pay_json_response'] = $result;
|
|
$result = json_decode($result,true);
|
|
$result = json_decode($result,true);
|