|
|
@@ -12,6 +12,7 @@ namespace app\common\repositories\system\merchant;
|
|
12
|
12
|
|
|
13
|
13
|
|
|
14
|
14
|
use app\common\dao\system\merchant\MerchantDao;
|
|
|
15
|
+use app\common\enum\CommonEnum;
|
|
15
|
16
|
use app\common\model\store\product\ProductReply;
|
|
16
|
17
|
use app\common\repositories\BaseRepository;
|
|
17
|
18
|
use app\common\repositories\store\product\ProductCopyRepository;
|
|
|
@@ -501,6 +502,9 @@ class MerchantRepository extends BaseRepository
|
|
501
|
502
|
3=>$v['price']//复购金
|
|
502
|
503
|
]
|
|
503
|
504
|
];
|
|
|
505
|
+ }else if ($productMerId == 3447) {
|
|
|
506
|
+ $yanglao = bcmul($v['price'], CommonEnum::ORDER_EARNING_ALLOCATION['SharedProsperity']['Self']['YangLaoJin']['Ratio']['code'], 2);
|
|
|
507
|
+ $v['yanglao'] = $yanglao;
|
|
504
|
508
|
}
|
|
505
|
509
|
|
|
506
|
510
|
// $v=($v,$k);
|