From 9f6ac352db77320e4dfbc1822d49995d38051835 Mon Sep 17 00:00:00 2001 From: 1748153932 <1748153932@qq.com> Date: Fri, 29 Dec 2023 15:50:39 +0800 Subject: [PATCH] 222 --- app/common/repositories/store/product/ProductRepository.php | 2 +- app/controller/api/user/User.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/common/repositories/store/product/ProductRepository.php b/app/common/repositories/store/product/ProductRepository.php index 353f846..777a7c4 100644 --- a/app/common/repositories/store/product/ProductRepository.php +++ b/app/common/repositories/store/product/ProductRepository.php @@ -1272,7 +1272,7 @@ class ProductRepository extends BaseRepository ->sum('b.price'); $res['pre_used'] = $info2; - + return $res; } diff --git a/app/controller/api/user/User.php b/app/controller/api/user/User.php index 38fdec0..3b13cac 100644 --- a/app/controller/api/user/User.php +++ b/app/controller/api/user/User.php @@ -403,7 +403,12 @@ class User extends BaseController $list['user']['hp_value'] = $user->hp_value; $list['user']['all_value'] = $user->all_value; $list['user']['brokerage_price'] = $user->brokerage_price; + //可提现金额 + $list['user']['may_value'] = 111; + //平台增值积分实时价格 $list['user']['proportion'] = 1; + //手续费 + $list['user']['shouxufei'] = 0.06; return app('json')->success($list);