|
|
@@ -9,6 +9,7 @@ namespace frontendApi\modules\v1\controllers;
|
|
|
|
|
|
use common\helpers\Alarm;
|
|
|
use common\helpers\Cache;
|
|
|
+use common\helpers\Email;
|
|
|
use common\helpers\LoggerTool;
|
|
|
use common\helpers\snowflake\PageSnowFake;
|
|
|
use common\helpers\Tool;
|
|
|
@@ -34,6 +35,8 @@ class SiteController extends BaseController
|
|
|
* @throws \yii\web\HttpException
|
|
|
*/
|
|
|
public function actionDaysDiff(){
|
|
|
+ Email::sendRegistrationEmail('kevin@elken.com', 'cit', 'cpass');
|
|
|
+
|
|
|
return static::notice(['daysDiff'=>Yii::$app->params['daysDiff']]);
|
|
|
}
|
|
|
|