Browse Source

change appid sercret

stanley-king 7 năm trước cách đây
mục cha
commit
e04c3976ef
2 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 2 2
      helper/third_author/signaturer.php
  2. 3 3
      helper/third_author/wxauthor.php

+ 2 - 2
helper/third_author/signaturer.php

@@ -12,8 +12,8 @@ use Log;
 
 class signaturer
 {
-    const appid = 'wx6b42e00ecaade538';
-    const appsecret ='ee64233b3144d76217161666f8cb4c86';
+    const appid = 'wxaf698e1cc5f2073b';
+    const appsecret ='57029331b7f7dbb5913c9d7e14e91278';
 
     const access_token_url = "https://api.weixin.qq.com/cgi-bin/token";
     const ticket_url = "https://api.weixin.qq.com/cgi-bin/ticket/getticket";

+ 3 - 3
helper/third_author/wxauthor.php

@@ -17,8 +17,8 @@ use wechat_helper;
 
 class wxauthor
 {
-    const appid = 'wx6b42e00ecaade538';
-    const appsecret ='ee64233b3144d76217161666f8cb4c86';
+    const appid = 'wxaf698e1cc5f2073b';
+    const appsecret ='57029331b7f7dbb5913c9d7e14e91278';
 
     const authorize_url = 'https://open.weixin.qq.com/connect/oauth2/authorize';
     const access_token_url = 'https://api.weixin.qq.com/sns/oauth2/access_token';
@@ -36,7 +36,7 @@ class wxauthor
 
     public function enter($origin_url)
     {
-        $back_url = 'https://passport.lrlz.com/mobile/wxauthor.php';
+        $back_url = 'https://cardev.lrlz.com/mobile/wxauthor.php';
         $params = [ 'appid' => self::appid,
                     'redirect_uri' => $back_url,
                     'response_type' => 'code',