Kirin 1 vuosi sitten
vanhempi
commit
b12ce961ba
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      app/controller/api/v1/PublicController.php

+ 2 - 2
app/controller/api/v1/PublicController.php

@@ -66,12 +66,12 @@ class PublicController extends BaseController
 
         foreach ($list as $v) {
 
-            $this->dealOrderIntegral(StoreOrder::where('id', $v['link_id'])->find(), $v['price'], $v['add_time'], $v['num'] < 0);
+            $this->dealOrderIntegral(StoreOrder::where('id', $v['link_id'])->find(), $v['price'], $v['add_time']);
         }
 
     }
 
-    public function dealOrderIntegral($order, $price, $time, $reCaculator)
+    public function dealOrderIntegral($order, $price, $time)
     {
         /** @var UserAwardIntegralServices $awardIntegralService */
         $awardIntegralService = app()->make(UserAwardIntegralServices::class);