Topup.php 673 字节
<?php

namespace Lackoxygen\TiktokShop\Passage\Topup;

use Lackoxygen\TiktokShop\Passage\Passage;

class Topup extends Passage implements TopupInterface
{
    /**
     * @inheritDoc
     */
    public function topupResult(array $params)
    {
        $this->builder->method('POST')
            ->service('topup.result')
            ->path('/topup/result')
            ->params($params);
    }

    /**
     * @inheritDoc
     */
    public function topupAccountTemplateList(array $params)
    {
        $this->builder->method('POST')
            ->service('topup.accountTemplateList')
            ->path('/topup/accountTemplateList')
            ->params($params);
    }
}