mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 06:20:50 +00:00
修改miss路由不记录
This commit is contained in:
parent
a397a9b51a
commit
2098f485c7
@ -204,8 +204,13 @@ class SystemRouteServices extends BaseServices
|
||||
$cateId = $commmonId;
|
||||
} else {
|
||||
if (!isset($item['option']['cate_name'])) {
|
||||
$rule = explode('/', $item['rule']);
|
||||
$cateId = $this->topCateId($app, $rule[0]);
|
||||
if (strstr($item['rule'], '<MISS>') === false) {
|
||||
$rule = explode('/', $item['rule']);
|
||||
$cateId = $this->topCateId($app, $rule[0]);
|
||||
} else {
|
||||
//miss路由不写入
|
||||
continue;
|
||||
}
|
||||
} else {
|
||||
$cateId = $this->topCateId($app, $item['option']['cate_name']);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user