Jelajahi Sumber

提示优化

shish 1 tahun lalu
induk
melakukan
e9c8790d72
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      app-ghs/controllers/CheckOutController.php

+ 1 - 0
app-ghs/controllers/CheckOutController.php

@@ -28,6 +28,7 @@ class CheckOutController extends BaseController
         $where['ghsShopId'] = $this->shopId ?? 0;
         $where['ghsShopId'] = $this->shopId ?? 0;
         $list = ClearService::getClearList($where);
         $list = ClearService::getClearList($where);
 
 
+        //累计已结账,app上在使用此数值
         $totalAmount = ClearClass::sum(['ghsShopId' => $this->shopId, 'status' => 2, 'customId' => $customId], 'realPrice');
         $totalAmount = ClearClass::sum(['ghsShopId' => $this->shopId, 'status' => 2, 'customId' => $customId], 'realPrice');
         $list['totalAmount'] = floatval($totalAmount);
         $list['totalAmount'] = floatval($totalAmount);