SmhTest.php
907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?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;
}
}