CoinExchange.php 591 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: shenyang
  5. * Date: 2019/6/12
  6. * Time: 下午1:51
  7. */
  8. namespace app\frontend\modules\orderGoods\discount;
  9. use app\common\modules\orderGoods\models\PreOrderGoods;
  10. /**
  11. * 积分兑换
  12. * Class CoinExchange
  13. * @package app\frontend\modules\order\discount
  14. */
  15. class CoinExchange extends BaseDiscount
  16. {
  17. protected $code = 'coinExchange';
  18. protected $name = '积分兑换';
  19. /**
  20. * 获取金额
  21. * @return float|int|null
  22. */
  23. protected function _getAmount()
  24. {
  25. // 如果开启了积分兑换,
  26. return ;
  27. }
  28. }