|
|
@@ -941,7 +941,7 @@ class TestController extends BaseController
|
|
|
//交易查询 ssh 20231021
|
|
|
public function actionTradeQuery()
|
|
|
{
|
|
|
- $shopId = 30300;
|
|
|
+ $shopId = 7855;
|
|
|
$shop = ShopClass::getById($shopId, true);
|
|
|
if (empty($shop)) {
|
|
|
util::stop('没有找到门店,编号677230');
|
|
|
@@ -958,13 +958,13 @@ class TestController extends BaseController
|
|
|
];
|
|
|
$laResource = new Lakala($params);
|
|
|
$queryParams = [
|
|
|
- 'orderSn' => 'CG29126449',
|
|
|
+ 'orderSn' => 'CG29746628',
|
|
|
//'tradeNo' => '66221061685504',
|
|
|
];
|
|
|
$response = $laResource->query($queryParams, 0);
|
|
|
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;
|