|
|
@@ -585,7 +585,7 @@ class TestController extends BaseController
|
|
|
//交易查询 ssh 20231021
|
|
|
public function actionTradeQuery()
|
|
|
{
|
|
|
- $shopId = 10649;
|
|
|
+ $shopId = 21486;
|
|
|
$shop = ShopClass::getById($shopId, true);
|
|
|
if (empty($shop)) {
|
|
|
util::stop('没有找到门店');
|
|
|
@@ -602,12 +602,12 @@ class TestController extends BaseController
|
|
|
];
|
|
|
$laResource = new Lakala($params);
|
|
|
$queryParams = [
|
|
|
- 'orderSn' => 'CG26977164',
|
|
|
+ 'orderSn' => 'CG27052211',
|
|
|
//'tradeNo' => '66215960152739',
|
|
|
];
|
|
|
$response = $laResource->query($queryParams, 1);
|
|
|
print_r($response);
|
|
|
- util::stop();
|
|
|
+ //util::stop();
|
|
|
if (isset($response['code']) && $response['code'] == 'BBS00000') {
|
|
|
$capitalType = dict::getDict('capitalType', 'xhPurchase', 'id');
|
|
|
$connection = Yii::$app->db;
|