瀏覽代碼

add to local

stanley-king 8 年之前
父節點
當前提交
e9159fe23b
共有 2 個文件被更改,包括 2 次插入4 次删除
  1. 1 1
      helper/fcgi_server.php
  2. 1 3
      mobile/api/wxLogin/config.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','api/wxLogin/index.php',
+            'cmbpay_notify.php','cmbpay_sign.php','api/wxLogin/index.php','api/wxLogin/callback.php',
             'test.php',);
 
         $path = BASE_ROOT_PATH . '/mobile/';

+ 1 - 3
mobile/api/wxLogin/config.php

@@ -6,9 +6,7 @@
  * Time: 下午3:42
  */
 //开启session
-session_start();
-//appid
-define('appID'           ,   'wx181c8e7c3b271a9c');
+define('appID'           ,   'wx6b42e00ecaade538');
 //appsecret
 define('appsecret'       ,   '41f93fef3207e917e742b9ebcd540cb2');
 //微信登录成功返回的页面(回调页面)