Kirin 1 vecka sedan
förälder
incheckning
3a6a2f5925
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      app/controller/api/v1/PublicController.php

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

@@ -74,12 +74,12 @@ class PublicController extends BaseController
     public function test()
     {
 //        (new IntegralJob)->dealOrderIntegral(StoreOrder::find(2529));
-        /** @var AwardIntegralServices $awardIntegralService */
-        $awardIntegralService = app()->make(AwardIntegralServices::class);
+        /** @var IntegralJob $awardIntegralService */
+        $awardIntegralService = app()->make(IntegralJob::class);
         /** @var UserServices $userService */
 
 
-        var_dump($awardIntegralService->getPaySum2(11));
+        var_dump($awardIntegralService->dealOrderIntegral(3442));
 //        $userService = app()->make(UserServices::class);
 //        $rate = sys_config('action_integral_rate', 3);
 //        $award_order_limit = sys_config('award_order_limit');