shish 1 год назад
Родитель
Сommit
e9c8790d72
1 измененных файлов с 1 добавлено и 0 удалено
  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;
         $list = ClearService::getClearList($where);
 
+        //累计已结账,app上在使用此数值
         $totalAmount = ClearClass::sum(['ghsShopId' => $this->shopId, 'status' => 2, 'customId' => $customId], 'realPrice');
         $list['totalAmount'] = floatval($totalAmount);