6
0
Fork 0

隐藏会员奖励配置

release
李静 2022-02-25 16:40:41 +08:00
parent 8dbcb4f5fe
commit 78b56393f9
1 changed files with 7 additions and 7 deletions

View File

@ -111,7 +111,7 @@ class SettingController extends AdminController
switch ($type) { switch ($type) {
case 'app': case 'app':
$tab->add('系统配置', new App(), true); $tab->add('系统配置', new App(), true);
$tab->addLink('会员奖励配置', admin_route('settings.index', ['type'=>'distribution'])); // $tab->addLink('会员奖励配置', admin_route('settings.index', ['type'=>'distribution']));
$tab->addLink('经销商配置', admin_route('settings.index', ['type'=>'dealer'])); $tab->addLink('经销商配置', admin_route('settings.index', ['type'=>'dealer']));
$tab->addLink('提现配置', admin_route('settings.index', ['type'=>'withdraw'])); $tab->addLink('提现配置', admin_route('settings.index', ['type'=>'withdraw']));
$tab->addLink('Ios配置', admin_route('settings.index', ['type'=>'ios'])); $tab->addLink('Ios配置', admin_route('settings.index', ['type'=>'ios']));
@ -131,7 +131,7 @@ class SettingController extends AdminController
break; break;
case 'dealer': case 'dealer':
$tab->addLink('系统配置', admin_route('settings.index', ['type'=>'app'])); $tab->addLink('系统配置', admin_route('settings.index', ['type'=>'app']));
$tab->addLink('会员奖励配置', admin_route('settings.index', ['type'=>'distribution'])); // $tab->addLink('会员奖励配置', admin_route('settings.index', ['type'=>'distribution']));
$tab->add('经销商配置', new Dealer(), true); $tab->add('经销商配置', new Dealer(), true);
$tab->addLink('提现配置', admin_route('settings.index', ['type'=>'withdraw'])); $tab->addLink('提现配置', admin_route('settings.index', ['type'=>'withdraw']));
$tab->addLink('Ios配置', admin_route('settings.index', ['type'=>'ios'])); $tab->addLink('Ios配置', admin_route('settings.index', ['type'=>'ios']));
@ -141,7 +141,7 @@ class SettingController extends AdminController
break; break;
case 'withdraw': case 'withdraw':
$tab->addLink('系统配置', admin_route('settings.index', ['type'=>'app'])); $tab->addLink('系统配置', admin_route('settings.index', ['type'=>'app']));
$tab->addLink('会员奖励配置', admin_route('settings.index', ['type'=>'distribution'])); // $tab->addLink('会员奖励配置', admin_route('settings.index', ['type'=>'distribution']));
$tab->addLink('经销商配置', admin_route('settings.index', ['type'=>'dealer'])); $tab->addLink('经销商配置', admin_route('settings.index', ['type'=>'dealer']));
$tab->add('提现配置', new Withdraw(), true); $tab->add('提现配置', new Withdraw(), true);
$tab->addLink('Ios配置', admin_route('settings.index', ['type'=>'ios'])); $tab->addLink('Ios配置', admin_route('settings.index', ['type'=>'ios']));
@ -151,7 +151,7 @@ class SettingController extends AdminController
break; break;
case 'ios': case 'ios':
$tab->addLink('系统配置', admin_route('settings.index', ['type'=>'app'])); $tab->addLink('系统配置', admin_route('settings.index', ['type'=>'app']));
$tab->addLink('会员奖励配置', admin_route('settings.index', ['type'=>'distribution'])); // $tab->addLink('会员奖励配置', admin_route('settings.index', ['type'=>'distribution']));
$tab->addLink('经销商配置', admin_route('settings.index', ['type'=>'dealer'])); $tab->addLink('经销商配置', admin_route('settings.index', ['type'=>'dealer']));
$tab->addLink('提现配置', admin_route('settings.index', ['type'=>'withdraw'])); $tab->addLink('提现配置', admin_route('settings.index', ['type'=>'withdraw']));
$tab->add('Ios配置', new Ios(), true); $tab->add('Ios配置', new Ios(), true);
@ -161,7 +161,7 @@ class SettingController extends AdminController
break; break;
case 'android': case 'android':
$tab->addLink('系统配置', admin_route('settings.index', ['type'=>'app'])); $tab->addLink('系统配置', admin_route('settings.index', ['type'=>'app']));
$tab->addLink('会员奖励配置', admin_route('settings.index', ['type'=>'distribution'])); // $tab->addLink('会员奖励配置', admin_route('settings.index', ['type'=>'distribution']));
$tab->addLink('经销商配置', admin_route('settings.index', ['type'=>'dealer'])); $tab->addLink('经销商配置', admin_route('settings.index', ['type'=>'dealer']));
$tab->addLink('提现配置', admin_route('settings.index', ['type'=>'withdraw'])); $tab->addLink('提现配置', admin_route('settings.index', ['type'=>'withdraw']));
$tab->addLink('Ios配置', admin_route('settings.index', ['type'=>'ios'])); $tab->addLink('Ios配置', admin_route('settings.index', ['type'=>'ios']));
@ -171,7 +171,7 @@ class SettingController extends AdminController
break; break;
case 'kuaidi100': case 'kuaidi100':
$tab->addLink('系统配置', admin_route('settings.index', ['type'=>'app'])); $tab->addLink('系统配置', admin_route('settings.index', ['type'=>'app']));
$tab->addLink('会员奖励配置', admin_route('settings.index', ['type'=>'distribution'])); // $tab->addLink('会员奖励配置', admin_route('settings.index', ['type'=>'distribution']));
$tab->addLink('经销商配置', admin_route('settings.index', ['type'=>'dealer'])); $tab->addLink('经销商配置', admin_route('settings.index', ['type'=>'dealer']));
$tab->addLink('提现配置', admin_route('settings.index', ['type'=>'withdraw'])); $tab->addLink('提现配置', admin_route('settings.index', ['type'=>'withdraw']));
$tab->addLink('Ios配置', admin_route('settings.index', ['type'=>'ios'])); $tab->addLink('Ios配置', admin_route('settings.index', ['type'=>'ios']));
@ -181,7 +181,7 @@ class SettingController extends AdminController
break; break;
case 'unipush': case 'unipush':
$tab->addLink('系统配置', admin_route('settings.index', ['type'=>'app'])); $tab->addLink('系统配置', admin_route('settings.index', ['type'=>'app']));
$tab->addLink('会员奖励配置', admin_route('settings.index', ['type'=>'distribution'])); // $tab->addLink('会员奖励配置', admin_route('settings.index', ['type'=>'distribution']));
$tab->addLink('经销商配置', admin_route('settings.index', ['type'=>'dealer'])); $tab->addLink('经销商配置', admin_route('settings.index', ['type'=>'dealer']));
$tab->addLink('提现配置', admin_route('settings.index', ['type'=>'withdraw'])); $tab->addLink('提现配置', admin_route('settings.index', ['type'=>'withdraw']));
$tab->addLink('Ios配置', admin_route('settings.index', ['type'=>'ios'])); $tab->addLink('Ios配置', admin_route('settings.index', ['type'=>'ios']));