Kaynağa Gözat

会员升级

Kirin 5 gün önce
ebeveyn
işleme
3a6a2f5925
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  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');