소스 검색

售后问题

shish 1 개월 전
부모
커밋
6c209586bb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app-hd/controllers/PurchaseController.php

+ 1 - 1
app-hd/controllers/PurchaseController.php

@@ -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;