Kirin 5 dni temu
rodzic
commit
82b466ab1b
1 zmienionych plików z 1 dodań i 5 usunięć
  1. 1 5
      app/controller/api/v1/PublicController.php

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

@@ -79,11 +79,7 @@ class PublicController extends BaseController
         /** @var UserServices $userService */
 
 
-        $list = $awardIntegralService->search()->select();
-        foreach ($list as $v) {
-            $order = StoreOrder::where('id', $v['order_id'])->value('pay_type');
-            $awardIntegralService->update($v['id'], ['pay_type' => $order]);
-        }
+        var_dump($awardIntegralService->getPaySum(11));
 //        $userService = app()->make(UserServices::class);
 //        $rate = sys_config('action_integral_rate', 3);
 //        $award_order_limit = sys_config('award_order_limit');