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