add customer api

This commit is contained in:
2019-10-08 22:33:25 +02:00
committed by Roland Schneider
parent 9aee187d11
commit 1300bfc752
33 changed files with 1164 additions and 246 deletions

View File

@@ -0,0 +1,28 @@
<?php
/**
* Created by IntelliJ IDEA.
* User: rocho
* Date: 2018.08.29.
* Time: 21:58
*/
namespace customerapi\controllers;
use common\components\HttpStatus;
use Yii;
/** @noinspection PhpUnused */
class PingController extends RestController
{
/** @noinspection PhpUnused */
public function actionPing( )
{
Yii::$app->response->setStatusCode( HttpStatus::NO_CONTENT );
}
}