stanley-king 8 éve
szülő
commit
a21c14fcab
2 módosított fájl, 4 hozzáadás és 4 törlés
  1. 1 1
      helper/fcgi_server.php
  2. 3 3
      mobile/control/index.php

+ 1 - 1
helper/fcgi_server.php

@@ -21,7 +21,7 @@ class fcgi_server
     private function is_exclude($file)
     {
         static $exfiles = array('wxnotify.php','alipay_notify_url.php','dispatch_notify.php','kdniao_notify.php',
-            'cmbpay_notify.php','cmbpay_sign.php','wxauthor.php',
+            'cmbpay_notify.php','cmbpay_sign.php','wxauthor.php','api/wxLogin/index.php','api/wxLogin/callback.php',
             'test.php');
 
         $path = BASE_ROOT_PATH . '/mobile/';

+ 3 - 3
mobile/control/index.php

@@ -63,9 +63,9 @@ class indexControl extends specialControl
 
     public function wxauthorOp()
     {
-        \thrid_author\wxauthor::enter();
-//        $url = BASE_SITE_URL . '/mobile/api/wxLogin/index.php';
-//        fcgi_header("location:{$url}");
+        //\thrid_author\wxauthor::enter();
+        $url = BASE_SITE_URL . '/mobile/api/wxLogin/index.php';
+        fcgi_header("location:{$url}");
         return self::outsuccess(null,'','wap');
     }