<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>

                >[info] 這個相信大部分小伙伴都開發,但是這里借助了Easyweichat框架的[菜單](https://www.easywechat.com/4.x/official-account/menu.html)特性,使得開發變得更簡單,如下所示: #### 溫馨提示:下面只是我按照Easyweichat框架的[菜單](https://www.easywechat.com/4.x/official-account/menu.html)特性調整的一個適合我自己的菜單風格來做的,中間涉及到了,view事件以及click事件,這些事件的處理在后面章節進行講解。 ~~~ /** * 設置菜單 * /api/Easycenter/memu */ public function memu() { $baseurl = $this->request->domain(); $buttons = [ [ "type" => "view", "name" => "永久訂閱", "url" => "https://mp.weixin.qq.com/s?__biz=MzIyMzY2MDUzNw==&mid=2247484298&idx=1&sn=0721f30fccbd72bfd4514d217ca2af02&chksm=e81b931cdf6c1a0a9189a153c6cb822ac0d6d732128f9dc2c9e48e8850a6fa2484fa49f97686#rd" ], [ "name" => "神仙操作", "sub_button" => [ [ "type" => "click", "name" => "線路一閘刀", "key" => "Line1" ], [ "type" => "click", "name" => "線路二閘刀", "key" => "Line2" ], [ "type" => "click", "name" => "線路三閘刀", "key" => "Line3" ], [ "type" => "view", "name" => "1小時總覽", "url" => $baseurl."/api/index/index?id=3" ], [ "type" => "click", "name" => "發送統計", "key" => "SendNum" ], /*[ "type" => "click", "name" => "接收線報", "key" => "GetMsg" ], [ "type" => "click", "name" => "拒收線報", "key" => "RefuseMsg" ],*/ ], ], [ "name" => "看我碼子", "sub_button" => [ [ "type" => "click", "name" => "永久碼子", "key" => "MyCodeForever" ], [ "type" => "click", "name" => "當前碼子", "key" => "MyCode" ], ], ]/*, [ "type" => "click", "name" => "看我碼子", "key" => "MyCode" ]*/ ]; $app = $this->app; $ret = $app->menu->create($buttons); var_dump($ret); } ~~~
                  <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>

                              哎呀哎呀视频在线观看