dyjh 6 years ago
parent
commit
64a413c68a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      routes/web.php

+ 1 - 0
routes/web.php

xqd
@@ -27,6 +27,7 @@ Route::get('image/{md5}', [
 //后台
 if (strpos(request()->getRequestUri(), '/addons/') !== false) {
     //如未设置当前公众号则加到选择公众号列表
+    dd(strpos(request()->getRequestUri(), 'Api'));
     session_start();
     if (empty($_SESSION['store_id']) || empty($_SESSION['wUser']) || empty($_SESSION['wAccount'])) {
         return redirect('../../../web/index.php?c=wxapp&a=display');