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);
     }