Merge branch 'master' of https://github.com/morrning/hesabixSite
This commit is contained in:
parent
4b9a87b528
commit
746ad08402
|
@ -19,4 +19,22 @@ class RedirectController extends AbstractController
|
|||
{
|
||||
return $this->redirect("https://app.hesabix.ir");
|
||||
}
|
||||
|
||||
#[Route('/st/{params}', name: 'app_redirect_store', requirements: ['params' => '.+'])]
|
||||
public function app_redirect_store($params): Response
|
||||
{
|
||||
return $this->redirect("https://api.hesabix.ir/st/" . $params);
|
||||
}
|
||||
|
||||
#[Route('/st/{params}', name: 'app_redirect_sell', requirements: ['params' => '.+'])]
|
||||
public function app_redirect_sell($params): Response
|
||||
{
|
||||
return $this->redirect("https://api.hesabix.ir/sl/" . $params);
|
||||
}
|
||||
|
||||
#[Route('/p/rep/{params}', name: 'app_redirect_repservice', requirements: ['params' => '.+'])]
|
||||
public function app_redirect_repservice($params): Response
|
||||
{
|
||||
return $this->redirect("https://api.hesabix.ir/p/rep/" . $params);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue