20 lines
565 B
PHP
20 lines
565 B
PHP
<?php
|
|
namespace Yunshop\TeamDividend\widgets;
|
|
|
|
|
|
use app\common\components\Widget;
|
|
use app\common\facades\Setting;
|
|
|
|
class TeamDividendWithdrawWidget extends Widget
|
|
{
|
|
public function run()
|
|
{
|
|
$set = Setting::get('withdraw.teamDividend', ['roll_out_limit' => '', 'poundage_rate' => '']);
|
|
$shopSet = Setting::get('withdraw.storeManager', ['roll_out_limit' => '', 'poundage_rate' => '']);
|
|
|
|
return view('Yunshop\TeamDividend::admin.withdraw-set', [
|
|
'set' => $set,
|
|
'shop_set' => $shopSet
|
|
])->render();
|
|
}
|
|
} |