Reward.php 652 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * @copyright Copyright (c) 2017 https://www.sapixx.com All rights reserved.
  4. * @license Licensed (http://www.apache.org/licenses/LICENSE-2.0).
  5. * @author pillar<ltmn@qq.com>
  6. * 奖励计算
  7. */
  8. namespace app\popupshop\widget;
  9. class Reward{
  10. /**
  11. * 交易服务费
  12. */
  13. public static function fees($order,$config){
  14. }
  15. /**
  16. * 代理收益
  17. * @param integer $miniapp_id 来源小程序
  18. * @param integer $uid 用户ID
  19. * @param float $cash_fee (元)
  20. * @param object $config 系统配置
  21. * @return void
  22. */
  23. public static function agent($order,$config){
  24. }
  25. }