Browse Source

测试代码

chenbo 4 years ago
parent
commit
4eeaa67a29
1 changed files with 1 additions and 0 deletions
  1. 1 0
      api/wxinfo.php

+ 1 - 0
api/wxinfo.php

@@ -9,6 +9,7 @@ try {
     $code = safeCheck($_POST["code"], 0);
     $jsUrl = safeCheck($_POST["jsUrl"], 0);
     $jsUrl = urldecode($jsUrl);
+    echo action_msg($jsUrl, 200);exit;
     $weixin_public = new weixin_public(APPID, APPSECRET, APPURI);
     $info = $weixin_public->getAllInfo($code, $jsUrl);
     echo action_msg($info, 200);