shish 3 年之前
父節點
當前提交
541c6b0e6a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app-pt/controllers/TestController.php

+ 1 - 1
app-pt/controllers/TestController.php

@@ -120,7 +120,7 @@ class TestController extends PublicController
                             }
                             //每个客服收的明细
                             if (isset($incomeList['kfWx']['class'][$getStaffId]['itemList']['ls'])) {
-                                $incomeList['kfWx']['class'][$getStaffId]['itemList']['ls']['amount'] = floatval(bcadd($incomeList['kfWx']['class'][$getStaffId]['itemList']['ls']['amount'], $actPrice, 2));
+                                $incomeList['kfWx']['class'][$getStaffId]['itemList']['ls']['amount'] = floatval(bcadd($incomeList['kfWx']['class'][$getStaffId]['itemList']['ls']['amount'], $currentAmount, 2));
                                 $incomeList['kfWx']['class'][$getStaffId]['itemList']['ls']['num'] = bcadd($incomeList['kfWx']['class'][$getStaffId]['itemList']['ls']['num'], 1);
                             }
                             break;