浏览代码

fix redirect

stanley-king 7 年之前
父节点
当前提交
64ccd999d8
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      mobile/control/inoherb.php

+ 1 - 2
mobile/control/inoherb.php

@@ -31,8 +31,7 @@ class inoherbControl extends mobileControl
         else {
             $url = "http://p.lrlz.com/hfive/inoherb/index.html?2";
         }
-
-        fcgi_header("location: {$url}");
+        return self::outsuccess(['direct_uri' => $url],"redirect");
     }
 
     public function listOp()