application/storecommon.php

Functions

checkPrivilege()

checkPrivilege(string|array  $url, boolean  $strict = true) : boolean

验证指定url是否有访问权限

Parameters

string|array $url
boolean $strict

严格模式

Returns

boolean