备份提交
This commit is contained in:
parent
34dbd8cf5e
commit
3e9f7de4ec
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user