init cloud
This commit is contained in:
@@ -35,6 +35,16 @@ class ApiController extends Controller {
|
||||
}
|
||||
}
|
||||
|
||||
public function actionWaitingRecognize() {
|
||||
if (Yii::$app->request->post()) {
|
||||
$post = Yii::$app->request->bodyParams;
|
||||
$model = new \app\models\WaitingReq();
|
||||
$model->create($post);
|
||||
Yii::$app->response->format = "json";
|
||||
return ["stt" => true];
|
||||
}
|
||||
}
|
||||
|
||||
public function actionSyncUrl() {
|
||||
if (Yii::$app->request->post()) {
|
||||
$post = Yii::$app->request->bodyParams;
|
||||
|
||||
Reference in New Issue
Block a user