WIN-2308041133\Administrator 4 mesiacov pred
rodič
commit
e92b4ac0b7
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      app/controller/api/Auth.php

+ 2 - 0
app/controller/api/Auth.php

@@ -204,6 +204,8 @@ class Auth extends BaseController
 
         $integral_prcie =app()->make(AwardIntegralPriceRepository::class)->awardIntegralPrice();
         $data['integral_prcie'] =$integral_prcie['price'];
+        $UserRepository = app()->make(UserRepository::class);
+        $UserRepository->checkAward($user['uid']);
         return app('json')->success($data);
     }