mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
优化url,多应用之间不能互相根据路由生成url,没有研究透
This commit is contained in:
@@ -6,6 +6,7 @@ use app\model\Category;
|
||||
use app\model\Nav;
|
||||
use app\model\Post;
|
||||
use app\model\PostCategory;
|
||||
use think\facade\Route;
|
||||
use think\facade\View;
|
||||
use think\Request;
|
||||
|
||||
@@ -19,8 +20,6 @@ class Index extends Common
|
||||
public function index()
|
||||
{
|
||||
//
|
||||
|
||||
|
||||
$sub_category = [];
|
||||
|
||||
if(!empty($this->request->param('category_id'))){
|
||||
|
||||
Reference in New Issue
Block a user