From 1fcdbb7aea50105fda871810d626d23900d5f856 Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Thu, 26 Oct 2023 15:15:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E6=9D=83=E9=87=8D?= =?UTF-8?q?=E5=80=BC=E4=B8=AD=E5=BF=83=20-=20=E6=B7=BB=E5=8A=A0=E8=82=A1?= =?UTF-8?q?=E6=9D=83=E6=94=B6=E7=9B=8A=E3=80=81=E5=B9=B3=E7=BA=A7=E5=A5=96?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA=E7=AE=A1=E7=90=86=E5=A5=96=E5=8A=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/weight-value/src/models/WeightValue.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/plugins/weight-value/src/models/WeightValue.php b/plugins/weight-value/src/models/WeightValue.php index a4d2bc49..14faec18 100644 --- a/plugins/weight-value/src/models/WeightValue.php +++ b/plugins/weight-value/src/models/WeightValue.php @@ -598,12 +598,14 @@ class WeightValue extends BaseModel{ 'weight_income' => ['key_name' => 'weight_income','title' => '权重收益','num' => (float)$weightIncome,'sort' => 2], // 本人当前持有的 本等级的权重值 'weight_value' => ['key_name' => 'weight_value','title' => '权重值','num' => $weightValue,'sort' => 10], + // 股权收益 todo:目前仅显示,值固定为0,后期功能开发完成后才显示具体统计值(功能暂定,无开发文档、无功能明细、无基本内容) + 'shareholding' => ['key_name' => 'order_money','title' => '股权收益','num' => 0,'sort' => 11], // 本团队所有相关订单的实际支付金额(不包括本人) - 'order_money' => ['key_name' => 'order_money','title' => '总订单金额','num' => $teamOrderInfo['total_price'],'sort' => 11], + 'order_money' => ['key_name' => 'order_money','title' => '总订单金额','num' => $teamOrderInfo['total_price'],'sort' => 12], // 本团队所有相关订单总数 (不包括本人) - 'order_num' => ['key_name' => 'order_num','title' => '总订单数','num' => $teamOrderInfo['total'],'sort' => 12], + 'order_num' => ['key_name' => 'order_num','title' => '总订单数','num' => $teamOrderInfo['total'],'sort' => 13], // 我的赠送升级名额 - 'give_limit' => ['key_name' => 'give_limit','title' => '我的名额','num' => (int)$giveLimitNum['surplus_quota'],'sort' => 13], + 'give_limit' => ['key_name' => 'give_limit','title' => '我的名额','num' => (int)$giveLimitNum['surplus_quota'],'sort' => 14], ]; // 获取经销商特殊身份 特殊身份:0=无特殊身份,1=经纪人,2=代理商,3=省级代理 $identityType = (int)TeamDividendLevelModel::uniacid()->where('id',$teamLevelId)->value('identity_type'); @@ -615,7 +617,7 @@ class WeightValue extends BaseModel{ // 非省公司 追加平级奖励 if((int)$identityType != 3){ // 平级奖励 本人获得的所有平级奖 - $list['peer_level_reward'] = ['key_name' => 'peer_level_reward','title' => '平级奖励','num' => $teamIncomeInfo['peer_level_reward'],'sort' => 5]; + $list['peer_level_reward'] = ['key_name' => 'peer_level_reward','title' => '管理奖励','num' => $teamIncomeInfo['peer_level_reward'],'sort' => 5]; } // 排序