<?php
/**
 * @copyright   Copyright (c) 2017 https://www.sapixx.com All rights reserved.
 * @license     Licensed (http://www.apache.org/licenses/LICENSE-2.0).
 * @author      pillar<ltmn@qq.com>
 * 奖励计算
 */
namespace app\popupshop\widget;

class Reward{

    /**
     * 交易服务费
     */
    public static function fees($order,$config){
      
    }

     /**
     * 代理收益
     * @param integer $miniapp_id   来源小程序
     * @param integer $uid  用户ID
     * @param float $cash_fee  (元)
     * @param object $config  系统配置
     * @return void
     */
    public static function agent($order,$config){
  
    }
}