TestController.php
444 Bytes
<?php
namespace backend\controllers;
use Yii;
use common\lib\QcloudApi\Client as QcloudApiClient;
/**
* Site controller
*/
class TestController extends BaseController
{
public function actionIndex()
{
$r = QcloudApiClient::self()->CreateRecord('16093425727657160449');
echo '<pre>';
var_export($r);
if (!$r){
var_export(QcloudApiClient::self()->error());
}
exit;
}
}