SmhTest.php 907 Bytes
<?php
namespace app\test\controller;

use phpDocumentor\Reflection\DocBlock\Tag\VarTagTest;
use qcloudcos\Conf;
use qcloudcos\Myqcloudcos;
use Pinyin\Pinyin;
use think\Controller;
use think\db\Query;
use Think\Exception;
use think\Url;
use think\Config;
use think\Page;
use think\Validate;
use think\Verify;
use think\Db;
use think\model\Merge;
use think\Cache;
use think\Cache\driver\Redis;
use think\ZipArchive;
use app\home\logic\UsersLogic;

class SmhTest extends Controller
{

    public $weixin_config;
    public $test = 123;

    public function test11()
    {
        $url="https://api.weixin.qq.com/wxa/modify_domain?access_token=";
        $rs = httpRequest($url,"get",null,array(),true,0,"ppt");
        echo $rs;die;


    }

    public function test12()
    {
        $url="http://www.baidu.com";
        $rs = httpRequest($url,"get",null,array(),true,0,"ppt");
        echo $rs;die;


    }
}