|
|
@@ -830,7 +830,7 @@ class TestController extends BaseController
|
|
|
$response = $laResource->query($queryParams, 1);
|
|
|
echo "<pre>";
|
|
|
print_r($response);
|
|
|
- //util::stop();
|
|
|
+ util::stop();
|
|
|
if (isset($response['code']) && $response['code'] == 'BBS00000') {
|
|
|
$capitalType = dict::getDict('capitalType', 'xhPurchase', 'id');
|
|
|
$connection = Yii::$app->db;
|
|
|
@@ -855,7 +855,6 @@ class TestController extends BaseController
|
|
|
$attach = '';
|
|
|
$total_amount = $response['resp_data']['total_amount'] ?? 0;
|
|
|
$orderSn = $response['resp_data']['out_trade_no'] ?? 0;
|
|
|
- $orderSn = 'CG27769296';
|
|
|
$totalFee = $total_amount / 100;
|
|
|
$transactionId = $response['resp_data']['trade_no'] ?? 0;
|
|
|
payUtil::thirdPay($currentPayWay, $capitalType, $orderSn, $totalFee, $attach, $transactionId);
|