|
|
@@ -129,7 +129,7 @@ class PurchaseController extends BaseController
|
|
|
//售后是否要求上传照片 0不要求 1必须
|
|
|
$refundMustImg = 0;
|
|
|
if (!empty($ghsShopId)) {
|
|
|
- $shop = ShopClass::getByCondition(['ghsShopId' => $ghsShopId], false, false, 'id,afterSale,saleHour,refundOnlyPrice,refundMustImg');
|
|
|
+ $shop = ShopClass::getByCondition(['id' => $ghsShopId], false, false, 'id,afterSale,saleHour,refundOnlyPrice,refundMustImg');
|
|
|
$afterSale = $shop['afterSale'] ?? 1;
|
|
|
$saleHour = $shop['saleHour'] ?? 12;
|
|
|
$refundOnlyPrice = $shop['refundOnlyPrice'] ?? 1;
|