From a4e9e58a140989daf94fbdb9f02860b43f0d7bb7 Mon Sep 17 00:00:00 2001 From: samoye <849688611@qq.com> Date: Fri, 7 Dec 2018 10:37:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=86=E9=94=80=E6=97=B6?= =?UTF-8?q?=E4=BA=8C=E7=BA=A7=E6=8E=A8=E5=B9=BF=E4=BA=BA=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E8=8E=B7=E5=BE=97=E5=A5=96=E5=8A=B1=E9=87=91=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20=E6=BA=90=E4=BB=A3=E7=A0=81=E4=B8=AD=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E4=BA=8C=E7=BA=A7=E8=BF=94=E4=BD=A3=E6=AF=94=E4=BE=8B=E6=97=B6?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=90=8D=E4=B8=8E=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=90=8D=E4=B8=8D=E7=AC=A6=E5=90=88=EF=BC=88?= =?UTF-8?q?=20store=5Fbrokerage=5Fratio=5Ftwo=EF=BC=89=EF=BC=8C=E8=87=B4?= =?UTF-8?q?=E4=BD=BF=E5=8F=96=E5=87=BA=E7=9A=84=E6=AF=94=E4=BE=8B=E4=B8=BA?= =?UTF-8?q?0,=E4=BA=8C=E7=BA=A7=E5=88=86=E9=94=80=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E8=BF=94=E5=9B=9E=EF=BC=8C=E8=BF=9B=E8=80=8C?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E4=BA=86=E4=BA=8C=E7=BA=A7=E5=88=86=E9=94=80?= =?UTF-8?q?=E4=BA=BA=E6=97=A0=E6=B3=95=E5=BE=97=E5=88=B0=E4=BD=A3=E9=87=91?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E6=94=B9=E5=AD=97=E6=AE=B5=E4=B8=BA=EF=BC=88?= =?UTF-8?q?store=5Fbrokerage=5Ftwo=EF=BC=89=EF=BC=8C=E4=B8=8E=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E5=AF=B9=E5=BA=94=E5=8D=B3=E5=8F=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/routine/model/user/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/routine/model/user/User.php b/application/routine/model/user/User.php index 8913faea..e339374e 100644 --- a/application/routine/model/user/User.php +++ b/application/routine/model/user/User.php @@ -131,7 +131,7 @@ class User extends ModelBasic if($storeBrokerageStatu == 1){ if(!User::be(['uid'=>$userInfoTwo['spread_uid'],'is_promoter'=>1])) return true; } - $brokerageRatio = (SystemConfigService::get('store_brokerage_ratio_two') ?: 0)/100; + $brokerageRatio = (SystemConfigService::get('store_brokerage_two') ?: 0)/100; if($brokerageRatio <= 0) return true; $cost = isset($orderInfo['cost']) ? $orderInfo['cost'] : 0;//成本价 if($cost > $orderInfo['pay_price']) return true;//成本价大于支付价格时直接返回