PHPackages                             yangweijie/thinkphp-jump - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. yangweijie/thinkphp-jump

ActiveThink-extend

yangweijie/thinkphp-jump
========================

适用于thinkphp6的跳转扩展

1.6.2(2y ago)0210↓100%Apache-2.0PHPPHP &gt;=7.1.0

Since Jul 16Pushed 2y agoCompare

[ Source](https://github.com/yangweijie/thinkphp-jump)[ Packagist](https://packagist.org/packages/yangweijie/thinkphp-jump)[ RSS](/packages/yangweijie-thinkphp-jump/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (3)Used By (0)

thinkphp-jump
=============

[](#thinkphp-jump)

适用于thinkphp6.0的跳转扩展

安装
--

[](#安装)

```
composer require liliuwei/thinkphp-jump
```

配置
--

[](#配置)

```
// 安装之后会在config目录里生成jump.php配置文件
return[
    // 默认跳转页面对应的模板文件
    'dispatch_success_tmpl' => app()->getRootPath().'/vendor/liliuwei/thinkphp-jump/src/tpl/dispatch_jump.tpl',
    'dispatch_error_tmpl'   => app()->getRootPath().'/vendor/liliuwei/thinkphp-jump/src/tpl/dispatch_jump.tpl',
];
```

用法示例
----

[](#用法示例)

使用 use \\liliuwei\\think\\Jump;

在所需控制器内引用该扩展即可：

```
