WIN-2308041133\Administrator преди 5 месеца
родител
ревизия
b40b8b773e
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      app/controller/api/Auth.php

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

@@ -202,7 +202,8 @@ class Auth extends BaseController
         }
         $data['brokerage_price'] = \app\common\model\user\User::where('uid', $user['uid'])->value('brokerage_price');
 
-        $data['integral_prcie'] =app()->make(AwardIntegralPriceRepository::class)->getPrice();
+        $integral_prcie =app()->make(AwardIntegralPriceRepository::class)->awardIntegralPrice();
+        $data['integral_prcie'] =$integral_prcie['price'];
         return app('json')->success($data);
     }