发
This commit is contained in:
parent
7b89327dfc
commit
e0bae11eec
@ -35,19 +35,19 @@ class SmsController extends ControllerBase{
|
|||||||
* http://weapp.wemediacn.net/d/tiffany/api/sms/test?qaz=wsx
|
* http://weapp.wemediacn.net/d/tiffany/api/sms/test?qaz=wsx
|
||||||
*/
|
*/
|
||||||
function testAction(){
|
function testAction(){
|
||||||
$url = "http://wxapp.wemediacn.com/smsoauth2_qa/api/sms/send";
|
// $url = "http://wxapp.wemediacn.com/smsoauth2_qa/api/sms/send";
|
||||||
//$url = "http://127.0.0.1/tiffany/api/sms/send?qaz=wsx";
|
//$url = "http://127.0.0.1/tiffany/api/sms/send?qaz=wsx";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//$url = "http://wxapp.wemediacn.com/smsoauth2_qa/api/sms/authcode";
|
// $url = "http://wxapp.wemediacn.com/smsoauth2_qa/api/sms/authcode";
|
||||||
//$url = "http://127.0.0.1/tiffany/api/sms/authcode?qaz=wsx";
|
//$url = "http://127.0.0.1/tiffany/api/sms/authcode?qaz=wsx";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//$url = "http://wxapp.wemediacn.com/smsoauth2_qa/api/sms/query_reports";
|
$url = "http://wxapp.wemediacn.com/smsoauth2_qa/api/sms/query_reports";
|
||||||
// $url = "http://127.0.0.1/tiffany/api/sms/query_reports?qaz=wsx";
|
// $url = "http://127.0.0.1/tiffany/api/sms/query_reports?qaz=wsx";
|
||||||
|
|
||||||
|
|
||||||
@ -68,10 +68,10 @@ class SmsController extends ControllerBase{
|
|||||||
$post_arr['params6'] = 6;
|
$post_arr['params6'] = 6;
|
||||||
$post_arr['is_resend'] = true;
|
$post_arr['is_resend'] = true;
|
||||||
$post_arr['min_id'] = 0;
|
$post_arr['min_id'] = 0;
|
||||||
$post_arr['min_id'] = 4121165901;
|
// $post_arr['min_id'] = 4121165901;
|
||||||
$post_arr['min_id'] = 4120793819;
|
// $post_arr['min_id'] = 4120793819;
|
||||||
$post_arr['min_id'] = 4121165413;
|
// $post_arr['min_id'] = 4121165413;
|
||||||
$post_arr['min_id'] = 4121165408;
|
// $post_arr['min_id'] = 4121165408;
|
||||||
$post_json = json_encode($post_arr);
|
$post_json = json_encode($post_arr);
|
||||||
$result = $this->__http_post_request($url, $post_json, true);
|
$result = $this->__http_post_request($url, $post_json, true);
|
||||||
print_r($result); die;
|
print_r($result); die;
|
||||||
|
|||||||
@ -17,12 +17,11 @@ class UrlsController extends ControllerBase{
|
|||||||
* http://weapp.wemediacn.net/d/tiffany/api/urls/test?qaz=wsx
|
* http://weapp.wemediacn.net/d/tiffany/api/urls/test?qaz=wsx
|
||||||
*/
|
*/
|
||||||
function testAction(){
|
function testAction(){
|
||||||
//$url = "http://wxapp.wemediacn.com/smsoauth2_qa/api/urls/shorturl";
|
$url = "http://wxapp.wemediacn.com/smsoauth2_qa/api/urls/shorturl";
|
||||||
$url = "http://127.0.0.1/tiffany/api/urls/shorturl?qaz=wsx";
|
// $url = "http://127.0.0.1/tiffany/api/urls/shorturl?qaz=wsx";
|
||||||
$post_arr = array();
|
$post_arr = array();
|
||||||
$post_arr['appid'] = "0e355010-67b9-4aa6-a53f-c92c972094a7";
|
$post_arr['appid'] = "0e355010-67b9-4aa6-a53f-c92c972094a7";
|
||||||
$post_arr['access_token'] = "9d21508a7531430c843cff8063dccb1c";
|
$post_arr['access_token'] = "c82fee53ecc8aaa37b3e1584a51448f1";
|
||||||
$post_arr['access_token'] = "8dfd706ffcfce2c7067df73f8e122020";
|
|
||||||
$post_arr['url'] = "https://www.baidu.com/";
|
$post_arr['url'] = "https://www.baidu.com/";
|
||||||
$post_json = json_encode($post_arr);
|
$post_json = json_encode($post_arr);
|
||||||
$result = $this->__http_post_request($url, $post_json, true);
|
$result = $this->__http_post_request($url, $post_json, true);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user