mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-28 11:45:31 +08:00
feat: 解决登陆缓存丢失问题
This commit is contained in:
@@ -87,5 +87,9 @@ class desktop_task{
|
||||
$deploy_info = base_setup_config::deploy_info();
|
||||
$logo = substr($deploy_info['product_name'],strlen('商派ONex '));
|
||||
app::get('desktop')->setConf('logo',$logo);
|
||||
|
||||
if (!pam_account::get_account_type('desktop')){
|
||||
pam_account::register_account_type('desktop','shopadmin','后台管理系统');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,8 +93,7 @@ class pam_account{
|
||||
{
|
||||
$aType = app::get('pam')->getConf('account_type');
|
||||
//todo
|
||||
return $aType[$app_id]['type'];
|
||||
//return 'member';
|
||||
return is_array($aType[$app_id]) ? $aType[$app_id]['type'] : false;
|
||||
}//End Function
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user