<?php

namespace frontend\controllers;

use Yii;
use frontend\models\LottoSms;
use common\helpers\Utils;
use backend\helpers\DateTimeHelper;
use common\helpers\TaobaoApiHelper;

class TestController extends BaseController
{
    // 我的key
    public $sandBoxConfig = ['isSandBox' => true, 'appKey' => '1024740086', 'appSecret' => 'sandbox2b118eadc91fccab8c74959fe', 'serverUrl' => 'http://gw.api.tbsandbox.com/router/rest'];
    public $config = ['isSandBox' => false, 'appKey' => '24740086', 'appSecret' => '084a3c9e8a45817e37a1f4a44c0e784c'];
    
    public function actionSend()
    {
//        $tb = new TaobaoApiHelper($this->sandBoxConfig);
//        $result = $tb->sendSmsCode('13480184235', '123456');
//        echo '<pre>';print_r($result);exit;
    }

    public function actionTest()
    {
        echo 123;
    }
}