Commit bed8d124 by 冷斌

fix bug

parent 442692a7
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
var_dump($mobile,$code, $tempId); var_dump($mobile,$code, $tempId);
var_dump('aabbccdd');
try { try {
/* 必要步骤: /* 必要步骤:
* 实例化一个认证对象,入参需要传入腾讯云账户密钥对 secretId 和 secretKey * 实例化一个认证对象,入参需要传入腾讯云账户密钥对 secretId 和 secretKey
...@@ -270,7 +270,7 @@ ...@@ -270,7 +270,7 @@
$cred = new \TencentCloud\Common\Credential("AKIDSffQItBMHwMXTM6LTKvG7phKgqksn6Ax", "f4JHbu3wYv3ycIsEJ8hzCIH4c1FD9zd4"); $cred = new \TencentCloud\Common\Credential("AKIDSffQItBMHwMXTM6LTKvG7phKgqksn6Ax", "f4JHbu3wYv3ycIsEJ8hzCIH4c1FD9zd4");
//$cred = new Credential(getenv("TENCENTCLOUD_SECRET_ID"), getenv("TENCENTCLOUD_SECRET_KEY")); //$cred = new Credential(getenv("TENCENTCLOUD_SECRET_ID"), getenv("TENCENTCLOUD_SECRET_KEY"));
var_dump($cred); var_dump(get_class($cred));
die; die;
// 实例化一个 http 选项,可选,无特殊需求时可以跳过 // 实例化一个 http 选项,可选,无特殊需求时可以跳过
$httpProfile = new \TencentCloud\Common\Profile\HttpProfile(); $httpProfile = new \TencentCloud\Common\Profile\HttpProfile();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment