<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ## :-: 后臺路由 $this->url() - 模塊中二次封裝了微擎系統的 createMobileUrl和createWebUrl 函數,使用時變的更加簡單 ### 說明 ~~~ $this->url(string $string); ~~~ 生成后臺url | 用法 | 描述 | | --- | --- | | 不帶任何參數 | 當前路由 | | \[模塊/\]\[控制器/\]\[操作\] | 常用寫法,支持跨模塊 | ### 示例: 控制器位于`/inc/web/Index.php`中,請看以下實例: ~~~ // +---------------------------------------------------------------------- // | onegow [ WE CAN DO IT MORE SIMPLE] // +---------------------------------------------------------------------- // | Copyright (c) 2016-2018 http://onegow.com All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- // | Author: mrye 55585190@qq.com // +---------------------------------------------------------------------- namespace inc\web; class Index extends Base { /** * 訪問路徑:http://wq.mrye.xin/web/index.php?c=site&a=entry&do=index-admin&m=og_test * 下面route()生成的鏈接會進入到這里 */ public function Admin() { echo 'this is admin controller'; } /** * 跨方法路由 * 訪問路徑:http://wq.mrye.xin/web/index.php?c=site&a=entry&do=index-route&m=og_test */ public function route() { //此路徑會跳轉至 Index控制器底下的 admin 方法 echo $this->url('admin'); } /** * 跨控制器路由 * 訪問路徑:http://wq.mrye.xin/web/index.php?c=site&a=entry&do=index-route2&m=og_test */ public function route2() { //此路徑會跳轉至 admin控制器底下的 index 方法 echo $this->url('admin/index'); } /** * 跨模塊路由 * 訪問路徑:http://wq.mrye.xin/web/index.php?c=site&a=entry&do=indexr-oute3&m=og_test */ public function route3() { //此路徑會跳轉至 mobile模塊index控制器底下的 home 方法 echo $this->url('mobile/index/home'); } } ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看