mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
修正route类check方法
This commit is contained in:
@@ -271,7 +271,7 @@ class Route
|
|||||||
if (!empty(self::$bind['type'])) {
|
if (!empty(self::$bind['type'])) {
|
||||||
// 如果有URL绑定 则进行绑定检测
|
// 如果有URL绑定 则进行绑定检测
|
||||||
switch (self::$bind['type']) {
|
switch (self::$bind['type']) {
|
||||||
case 'clsss':
|
case 'class':
|
||||||
// 绑定到类
|
// 绑定到类
|
||||||
$array = explode('/', $url, 2);
|
$array = explode('/', $url, 2);
|
||||||
if (isset($array[1])) {
|
if (isset($array[1])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user