From 3e9f7de4ec60c9646e39b0e09f79112f8dbd9239 Mon Sep 17 00:00:00 2001 From: qinzongqing Date: Mon, 17 Apr 2023 17:51:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E4=BB=BD=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/Oauth2Controller.php | 6 +++--- app/controllers/SmsController.php | 2 +- app/controllers/UrlsController.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/controllers/Oauth2Controller.php b/app/controllers/Oauth2Controller.php index af54a2a..870697a 100644 --- a/app/controllers/Oauth2Controller.php +++ b/app/controllers/Oauth2Controller.php @@ -18,13 +18,13 @@ class Oauth2Controller extends ControllerBase{ */ function testAction(){ //$url = "http://wxapp.wemediacn.com/smsoauth2_qa/api/oauth2/code"; - //$url = "http://127.0.0.1/tiffany/api/oauth2/code?qaz=wsx"; - $url = "http://wxapp.wemediacn.com/smsoauth2_qa/api/oauth2/accesstoken"; + $url = "http://127.0.0.1/tiffany/api/oauth2/code?qaz=wsx"; + //$url = "http://wxapp.wemediacn.com/smsoauth2_qa/api/oauth2/accesstoken"; //$url = "http://127.0.0.1/tiffany/api/oauth2/accesstoken?qaz=wsx"; $post_arr = array(); $post_arr['appid'] = "0e355010-67b9-4aa6-a53f-c92c972094a7"; $post_arr['appsecrect'] = "b82015bd-8d4c-4df8-87a8-c25477a8976f"; - $post_arr['code'] = "6a1df95b00d0414d8cc545425afac40c"; + $post_arr['code'] = "ae527cf1ad3a4b259d2c0ff5d9e8e4a4"; $post_json = json_encode($post_arr); $result = $this->__http_post_request($url, $post_json, true); print_r($result); die; diff --git a/app/controllers/SmsController.php b/app/controllers/SmsController.php index d5ffd63..8099852 100644 --- a/app/controllers/SmsController.php +++ b/app/controllers/SmsController.php @@ -45,7 +45,7 @@ class SmsController extends ControllerBase{ $post_arr['appid'] = "0e355010-67b9-4aa6-a53f-c92c972094a7"; $post_arr['mobile'] = "13501882318"; $post_arr['access_token'] = "9d21508a7531430c843cff8063dccb1c"; - $post_arr['access_token'] = "520aec4ea5b42e1bc6d4549eeac26c14"; + $post_arr['access_token'] = "d9f45d5b4aeb44f1a82f08dde7f86b34"; $post_arr['content'] = "[$=yzm=$]、[$=params1=$]、[$=params2=$]、[$=params3=$]、[$=params4=$]、[$=params5=$]"; $post_arr['format'] = ""; $post_arr['len'] = -1; diff --git a/app/controllers/UrlsController.php b/app/controllers/UrlsController.php index bca5ec4..d733f3c 100644 --- a/app/controllers/UrlsController.php +++ b/app/controllers/UrlsController.php @@ -22,7 +22,7 @@ class UrlsController extends ControllerBase{ $post_arr = array(); $post_arr['appid'] = "0e355010-67b9-4aa6-a53f-c92c972094a7"; $post_arr['access_token'] = "9d21508a7531430c843cff8063dccb1c"; - $post_arr['access_token'] = "ycq9t62einm7usfah1vk4z38djxp5gwl"; + $post_arr['access_token'] = "d9f45d5b4aeb44f1a82f08dde7f86b34"; $post_arr['url'] = "https://www.baidu.com/"; $post_json = json_encode($post_arr); $result = $this->__http_post_request($url, $post_json, true);