<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/6/13
 * Time: 9:53
 */
namespace Modules\Project\Services;

use Illuminate\Support\Facades\DB;
use Modules\Base\Entities\User;
use Modules\Project\Entities\Task;
use SMG\Invitation\UserInvitation;
use SMG\Mall\Models\MallOrder;
use SMG\Wallet\Wallet;

class RewardService extends BaseService
{

    public function startReward(MallOrder $order)
    {
        logger('订单完成，开始计算奖励'.$order->no);

        $type = $order->type;
        $user = $order->user;

    }

}
