shish 2 سال پیش
والد
کامیت
abd6cb2f7b
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      app-ghs/controllers/TestController.php

+ 3 - 2
app-ghs/controllers/TestController.php

@@ -70,10 +70,11 @@ class TestController extends BaseController
                 if ($status == 0 || $status == 5) {
                     continue;
                 }
-                $totalAmount = bcadd($totalAmount, $actPrice);
+                $totalAmount = bcadd($totalAmount, $actPrice, 2);
             }
         }
-        echo $totalAmount;die;
+        echo $totalAmount;
+        die;
     }
 
     public function actionIp()