优化链接生成函数,使其能够正常跨应用生成链接并且支持app_map的设置;

This commit is contained in:
2022-07-05 15:23:17 +08:00
parent 4b4f4b1ff1
commit e554b226b6
2 changed files with 40 additions and 6 deletions

View File

@@ -19,6 +19,13 @@ class Index extends AdminController
*/
public function index()
{
dump(__url('system.Admin/index'));
dump(__url('Ajax/Ajax/initAdmin'));
dump(__url('Ajax/initAdmin',[],false,true));
dump(__url('welcome'));
dump(__url('tools/timer.ClearLog/do'));
return $this->fetch('', [
'admin' => session('admin'),
]);
@@ -117,5 +124,4 @@ class Index extends AdminController
$this->assign('row', $row);
return $this->fetch();
}
}