mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-04 00:24:29 +08:00
优化url,多应用之间不能互相根据路由生成url,没有研究透
This commit is contained in:
@@ -9,6 +9,7 @@ use app\model\Post as ModelPost;
|
||||
use app\model\PostCategory;
|
||||
use app\model\PostTag;
|
||||
use app\model\Tag;
|
||||
use think\facade\Route;
|
||||
use think\facade\View;
|
||||
use think\Request;
|
||||
|
||||
@@ -56,6 +57,8 @@ class Post extends Common
|
||||
//
|
||||
$post_data = $request->post();
|
||||
|
||||
$post_data['uid'] = uniqid();
|
||||
|
||||
$categorys = [];
|
||||
$tags = [];
|
||||
if (isset($post_data['categorys'])) {
|
||||
|
||||
2
app/admin/route/index.php
Normal file
2
app/admin/route/index.php
Normal file
@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
use think\facade\Route;
|
||||
Reference in New Issue
Block a user