|
|
@@ -117,8 +117,8 @@ class PurchaseClass extends BaseClass
|
|
|
}
|
|
|
$ghs = GhsClass::getGhsInfo($ghsId);
|
|
|
$ghsSjId = $ghs['sjId'] ?? 0;
|
|
|
- $ghsShopId = $ghs['shopId'];
|
|
|
- $getType = $data['getType'];
|
|
|
+ $ghsShopId = $ghs['shopId'] ?? 0;
|
|
|
+ $getType = $data['getType'] ?? 0;
|
|
|
$hdOrderId = $respond['id'] ?? 0;
|
|
|
|
|
|
$custom = CustomClass::getByCondition(['ownSjId' => $ghsSjId, 'sjId' => $hdSjId, 'shopId' => $hdShopId]);
|