安全验证优化

feat/task1-c-wallet
Devil 2021-05-21 18:26:13 +08:00
parent 10f561ab9b
commit 51eb5ba6b7
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ class PluginsService
}
// 安全判断
if(config('shopxo.is_develop') === false)
if(config('shopxo.is_develop') === false && strtolower(request()->module()) == 'admin')
{
$key = 'plugins_legal_check_'.$plugins;
$ret = cache($key);