Kirin 5 dienas atpakaļ
vecāks
revīzija
c28d6d692a
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      app/controller/api/v1/PublicController.php

+ 3 - 1
app/controller/api/v1/PublicController.php

@@ -79,7 +79,9 @@ class PublicController extends BaseController
         /** @var UserServices $userService */
 
 
-        var_dump($awardIntegralService->dealOrderIntegral(3442));
+        $order = StoreOrder::get(3442);
+
+        var_dump($awardIntegralService->dealOrderIntegral($order));
 //        $userService = app()->make(UserServices::class);
 //        $rate = sys_config('action_integral_rate', 3);
 //        $award_order_limit = sys_config('award_order_limit');