| 1234567891011121314151617 |
- <?php
- namespace addons\CloudStock\common\logic\deduction;
- class BuyDeductionLogic extends DeductionLogic
- {
- /**
- * @desc:获取会员买货扣分润后货款商品单价
- * @return float|int|mixed
- */
- public function getUnitGoodsPrice()
- {
- $this->unit_goods_price =$this->order->after_distribution_price / $this->order->num;
- return $this->unit_goods_price;
- }
- }
|